Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core.eval
Class DoubleScore

java.lang.Object
  extended byorg.evolvica.core.eval.DoubleScore
All Implemented Interfaces:
IScore, java.io.Serializable

public class DoubleScore
extends java.lang.Object
implements IScore

Double score.

Since:
0.4.0
Version:
$Revision: 1.6 $ $Date: 2004/05/26 11:58:01 $
Author:
Andreas Rummler
See Also:
Serialized Form

Field Summary
protected  double score
          Score value.
 
Constructor Summary
DoubleScore()
          Constructor.
DoubleScore(double score)
          Constructor with initial score.
 
Method Summary
 double doubleValue()
          Deprecated. use getValue()
 double getValue()
          Gets the value of the score as dDouble.
 java.lang.Object getValueAsObject()
          Gets the value of the score as a Double object.
 void setValue(double value)
          Sets the value of this score object.
 java.lang.String toString()
          Returns a string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

score

protected double score
Score value.

Constructor Detail

DoubleScore

public DoubleScore()
Constructor. The score value is set to 0.


DoubleScore

public DoubleScore(double score)
Constructor with initial score.

Parameters:
score - score
Method Detail

getValue

public double getValue()
Gets the value of the score as dDouble.

Returns:
value of score

getValueAsObject

public java.lang.Object getValueAsObject()
Gets the value of the score as a Double object.

Specified by:
getValueAsObject in interface IScore
Returns:
value of score as Double

setValue

public void setValue(double value)
Sets the value of this score object.

Parameters:
value - new score value

doubleValue

public double doubleValue()
Deprecated. use getValue()

Gets the value of the score as dDouble.

Returns:
value of score

toString

public java.lang.String toString()
Returns a string representation.

Returns:
string representation

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems