edu.umich.soar.hpp
Class HPPGivenVariable

java.lang.Object
  extended by edu.umich.soar.hpp.HPPVariable
      extended by edu.umich.soar.hpp.HPPGivenVariable
All Implemented Interfaces:
java.lang.Comparable<HPPVariable>
Direct Known Subclasses:
HPPGivenBinaryVariable

public class HPPGivenVariable
extends HPPVariable

Type of variable where value is known with certainty (i.e. special case of multi where single value with 1.0 probability)


Constructor Summary
HPPGivenVariable(java.lang.String name, java.lang.String value)
          Basic constructor to initialize name/value
 
Method Summary
 java.lang.String getType()
          A variable's type is just a string (used for console debugging)
 java.lang.String getValue()
          Supports read-only access to the sole value
 
Methods inherited from class edu.umich.soar.hpp.HPPVariable
compareTo, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HPPGivenVariable

public HPPGivenVariable(java.lang.String name,
                        java.lang.String value)
Basic constructor to initialize name/value

Parameters:
name - variable name
value - variable value
Method Detail

getValue

public java.lang.String getValue()
Supports read-only access to the sole value

Returns:
variable value

getType

public java.lang.String getType()
Description copied from class: HPPVariable
A variable's type is just a string (used for console debugging)

Specified by:
getType in class HPPVariable
Returns:
variable type