ics.TripleApl.ConstFloatPar Class Reference

Inheritance diagram for ics.TripleApl.ConstFloatPar:

ics.TripleApl.ConstNumPar ics.TripleApl.ConstPar ics.TripleApl.Par List of all members.

Public Member Functions

 ConstFloatPar (double v)
Par copy ()
boolean equals (Object o)
double compare (ConstFloatPar cfp)
double getValue ()
String toPrologString ()
String toPrologString (Vector vars)
String toString ()
Object clone ()

Private Attributes

double value
String stringValue

Detailed Description

Class ConstFloatPar to store numeric (in this case floating point) constant parameters.

The value is stored as a Java double.

Author:
Meindert Kroese
Version:
2.0, July 2003
Since:
July 2003


Constructor & Destructor Documentation

ics.TripleApl.ConstFloatPar.ConstFloatPar double  v  ) 
 

The constructor, v is the value of this ConstFloatPar.


Member Function Documentation

Object ics.TripleApl.ConstFloatPar.clone  )  [virtual]
 

Implements ics.TripleApl.Par.

double ics.TripleApl.ConstFloatPar.compare ConstFloatPar  cfp  ) 
 

This method the difference between this and the given ConstFloatPar.

Parameters:
<code>cfp</code>,the given ConstFloatPar
Returns:
double, this value minus the value of cfp.

Par ics.TripleApl.ConstFloatPar.copy  )  [virtual]
 

Method to get a copy of a parameter.

Returns:
Par, the copy of the parameter.

Implements ics.TripleApl.Par.

boolean ics.TripleApl.ConstFloatPar.equals Object  o  ) 
 

Method that tests on equality between two parameters. Parameters are test on equality of type and content.

Parameters:
o the parameter to be compared with <ode>this parameter.
Returns:
true on equality.

double ics.TripleApl.ConstFloatPar.getValue  ) 
 

method that gives the value of the ConstFloatPar.

Returns:
double, the value.

String ics.TripleApl.ConstFloatPar.toPrologString Vector  vars  )  [virtual]
 

Implements ics.TripleApl.Par.

String ics.TripleApl.ConstFloatPar.toPrologString  )  [virtual]
 

Method to get a `Prolog friendly' version of a parameter.

Returns:
String, a `Prolog friendly' version of a parameter.

Implements ics.TripleApl.Par.

String ics.TripleApl.ConstFloatPar.toString  )  [virtual]
 

Method to get a printable version of a parameter.

Returns:
String, a printable version of a parameter.

Implements ics.TripleApl.Par.


Member Data Documentation

String ics.TripleApl.ConstFloatPar.stringValue [private]
 

double ics.TripleApl.ConstFloatPar.value [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Dec 12 15:07:20 2005 for 3APL by  doxygen 1.4.5