Public Member Functions | |
void | addName (String outcome) |
Discretized () | |
Discretized (DiscretizationFilter filter) | |
int | findName (String outcome) |
DiscretizationFilter | getDiscretizationFilter () |
double | getExampleValue (int bin) |
double[] | getIntervals (int bin) |
String | getName (int o) |
String | getNameFromContinuous (double value) |
int | getOrder () |
void | setDiscretizationFilter (DiscretizationFilter filter) |
String | toString () |
Protected Attributes | |
DiscretizationFilter | discretizationFilter |
Package Functions | |
public< C extends Clusterer > | Discretized (C clusterer, ClusterNamer<?super C > namer) throws Exception |
Package Attributes | |
Discrete | discrete |
An instance of class Discretized
represents a domain that is originally continuous but is discretized by some discretization filter. This class has to wrap all methods of Discrete because all members of Discrete are private. :(
Definition at line 15 of file Discretized.java.
public<C extends Clusterer> edu::tum::cs::bayesnets::core::Discretized::Discretized | ( | C | clusterer, | |
ClusterNamer<?super C > | namer | |||
) | throws Exception [inline, package] |
Construct a Discretized
instance with a clusterer for discretization.
clusterer | the clusterer used for discretization. |
Exception |
Definition at line 30 of file Discretized.java.
edu::tum::cs::bayesnets::core::Discretized::Discretized | ( | DiscretizationFilter | filter | ) | [inline] |
Construct a Discretized
instance with a DiscretizationFilter
for discretization.
filter | the filter used for discretization. |
Definition at line 39 of file Discretized.java.
edu::tum::cs::bayesnets::core::Discretized::Discretized | ( | ) | [inline] |
Definition at line 43 of file Discretized.java.
void edu::tum::cs::bayesnets::core::Discretized::addName | ( | String | outcome | ) | [inline] |
Add a name to the domain. ATTENTION: This method must not be called and throws an exception because the names of this domain are generated!
outcome | the name. |
Definition at line 80 of file Discretized.java.
int edu::tum::cs::bayesnets::core::Discretized::findName | ( | String | outcome | ) | [inline] |
Find a name in the discrete and get its value.
outcome | the name of the element. |
Definition at line 91 of file Discretized.java.
DiscretizationFilter edu::tum::cs::bayesnets::core::Discretized::getDiscretizationFilter | ( | ) | [inline] |
Get the discretization filter.
Definition at line 51 of file Discretized.java.
double edu::tum::cs::bayesnets::core::Discretized::getExampleValue | ( | int | bin | ) | [inline] |
Get an example continuous value for the specified discretized value.
bin | the discretized value. |
Definition at line 142 of file Discretized.java.
double [] edu::tum::cs::bayesnets::core::Discretized::getIntervals | ( | int | bin | ) | [inline] |
Get the interval for the given bin.
bin | the bin to query for. |
Definition at line 133 of file Discretized.java.
String edu::tum::cs::bayesnets::core::Discretized::getName | ( | int | o | ) | [inline] |
Get the o'th element in the domain.
o | the element number. |
Definition at line 101 of file Discretized.java.
String edu::tum::cs::bayesnets::core::Discretized::getNameFromContinuous | ( | double | value | ) | [inline] |
Get the discrete value.
value | the value to be discretized. |
Definition at line 70 of file Discretized.java.
int edu::tum::cs::bayesnets::core::Discretized::getOrder | ( | ) | [inline] |
Get the order of this domain.
Definition at line 110 of file Discretized.java.
void edu::tum::cs::bayesnets::core::Discretized::setDiscretizationFilter | ( | DiscretizationFilter | filter | ) | [inline] |
Set the discretization filter.
filter | the discretization filter to be used for discretization. |
Definition at line 59 of file Discretized.java.
String edu::tum::cs::bayesnets::core::Discretized::toString | ( | ) | [inline] |
Definition at line 117 of file Discretized.java.
Discrete edu::tum::cs::bayesnets::core::Discretized::discrete [package] |
The domain we delegate all methods to.
Definition at line 23 of file Discretized.java.
The discretization filter to use.
Definition at line 19 of file Discretized.java.