anl.aida.client.net
Class ValueNode

java.lang.Object
  extended by anl.aida.client.net.ValueNode
Direct Known Subclasses:
TermNode

public class ValueNode
extends java.lang.Object

Network node that contains some specific numeric value.


Field Summary
private  java.lang.String label
           
private  double value
           
 
Constructor Summary
ValueNode(double value, java.lang.String label)
           
 
Method Summary
 java.lang.String getLabel()
           
 double getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private double value

label

private java.lang.String label
Constructor Detail

ValueNode

public ValueNode(double value,
                 java.lang.String label)
Parameters:
value -
label -
Method Detail

getValue

public double getValue()
Returns:
the value

getLabel

public java.lang.String getLabel()
Returns:
the label