edu::tum::cs::bayesnets::core::Discretized Class Reference

Inheritance diagram for edu::tum::cs::bayesnets::core::Discretized:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

public<C extends Clusterer> edu::tum::cs::bayesnets::core::Discretized::Discretized ( clusterer,
ClusterNamer<?super C >  namer 
) throws Exception [inline, package]

Construct a Discretized instance with a clusterer for discretization.

Parameters:
clusterer the clusterer used for discretization.
Exceptions:
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.

Parameters:
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.


Member Function Documentation

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!

Parameters:
outcome the name.
See also:
edu.ksu.cis.bnj.ver3.core.Discrete::addName(java.lang.String)

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.

Parameters:
outcome the name of the element.
Returns:
the element number for the name.
See also:
edu.ksu.cis.bnj.ver3.core.Discrete::findName(java.lang.String)

Definition at line 91 of file Discretized.java.

DiscretizationFilter edu::tum::cs::bayesnets::core::Discretized::getDiscretizationFilter (  )  [inline]

Get the discretization filter.

Returns:
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.

Parameters:
bin the discretized value.
Returns:
a continuous 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.

Parameters:
bin the bin to query for.
Returns:
the interval for the bin.

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.

Parameters:
o the element number.
Returns:
the name of the element.
See also:
edu.ksu.cis.bnj.ver3.core.Discrete::getName(int)

Definition at line 101 of file Discretized.java.

String edu::tum::cs::bayesnets::core::Discretized::getNameFromContinuous ( double  value  )  [inline]

Get the discrete value.

Parameters:
value the value to be discretized.
Returns:
the discretized value.

Definition at line 70 of file Discretized.java.

int edu::tum::cs::bayesnets::core::Discretized::getOrder (  )  [inline]

Get the order of this domain.

Returns:
the order of the domain.
See also:
edu.ksu.cis.bnj.ver3.core.Discrete::getOrder()

Definition at line 110 of file Discretized.java.

void edu::tum::cs::bayesnets::core::Discretized::setDiscretizationFilter ( DiscretizationFilter  filter  )  [inline]

Set the discretization filter.

Parameters:
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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:36 2013