autoweka
Class Conditional
java.lang.Object
autoweka.Conditional
public class Conditional
- extends java.lang.Object
Simple struct that matains conditionality between params
Field Summary |
java.util.Collection<java.lang.String> |
domain
The set of categorical values that the parent must take on in order for the child parameter to be active |
Parameter |
parameter
The name of the 'child' parameter that is conditional on the parent taking on a particular value |
Parameter |
parent
The name of the parameter that the child is conditional on |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
parameter
public Parameter parameter
- The name of the 'child' parameter that is conditional on the parent taking on a particular value
parent
public Parameter parent
- The name of the parameter that the child is conditional on
domain
public java.util.Collection<java.lang.String> domain
- The set of categorical values that the parent must take on in order for the child parameter to be active
Conditional
public Conditional(java.lang.String line,
java.util.HashMap<java.lang.String,Parameter> paramMap)
Conditional
public Conditional(Parameter _param,
Parameter _parent,
java.lang.String _domain)
Conditional
public Conditional(Parameter _param,
Parameter _parent,
java.util.Collection<java.lang.String> _domain)
Conditional
public Conditional(Parameter _param,
Parameter _parent,
Conditional previous)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object