Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core
Interface IMultiScore

All Superinterfaces:
IScore, java.io.Serializable
All Known Implementing Classes:
CompoundScore

public interface IMultiScore
extends IScore

Interface for a score that consists of other scores. This can be used for multiobjective optimization problems. The contained scores are held in an arraylike structure.

Since:
0.4.0
Version:
$Revision: 1.6 $ $Date: 2004/05/26 11:57:54 $
Author:
Andreas Rummler

Method Summary
 IScore getScore(int index)
          Deprecated. use getScores() to access the array directly
 IScore[] getScores()
          Returns the array of scores that this multi score consists of.
 int scoreSize()
          Deprecated. use getScores().length learn about the number of scores
 void setScore(IScore score, int index)
          Deprecated. use setScores() to set the array directly
 void setScores(IScore[] scores)
          Sets the scores of this multiscore.
 
Methods inherited from interface org.evolvica.core.IScore
getValueAsObject
 

Method Detail

getScores

public IScore[] getScores()
Returns the array of scores that this multi score consists of.

Returns:
array of scores

getScore

public IScore getScore(int index)
Deprecated. use getScores() to access the array directly

Gets a single score from the multi score set.

Parameters:
index - index of the score
Returns:
score at the given index

setScores

public void setScores(IScore[] scores)
Sets the scores of this multiscore.

Parameters:
scores - array of scores

setScore

public void setScore(IScore score,
                     int index)
Deprecated. use setScores() to set the array directly

Sets a new score at the given index.

Parameters:
score - score to set
index - index

scoreSize

public int scoreSize()
Deprecated. use getScores().length learn about the number of scores

Returns the number of scores this multi score consists of.

Returns:
number of single scores this score contains

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

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