eaLib API Docs
Last Modified : January 7 2002

mss.ea.trm
Class PhiStreamCondition

java.lang.Object
  |
  +--mss.ea.trm.AbstractStreamCondition
        |
        +--mss.ea.trm.ScoreStreamCondition
              |
              +--mss.ea.trm.PhiStreamCondition
All Implemented Interfaces:
StreamCondition

public class PhiStreamCondition
extends ScoreStreamCondition

Termination dependent on Phi. The condition is fulfilled, if phi falls below a particular threshold. Phi is defined as Abs( 1 - Abs( best score / average score ) ).

Since:
0.1
Version:
0.1 (08-21-2001)
Author:
Andreas Rummler

Field Summary
protected  float threshold
          Threshold.
 
Fields inherited from class mss.ea.trm.ScoreStreamCondition
DOUBLE, FLOAT, INT, LONG, mode, NONE
 
Fields inherited from class mss.ea.trm.AbstractStreamCondition
comp
 
Constructor Summary
PhiStreamCondition(float threshold)
          Constructor.
 
Method Summary
 boolean isTrue(IndividualStream is)
          Test of break condition.
 
Methods inherited from class mss.ea.trm.AbstractStreamCondition
getComparator, setComparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

threshold

protected float threshold
Threshold.
Constructor Detail

PhiStreamCondition

public PhiStreamCondition(float threshold)
Constructor.
Parameters:
threshold - threshold value
Method Detail

isTrue

public boolean isTrue(IndividualStream is)
Test of break condition.
Overrides:
isTrue in class AbstractStreamCondition
Returns:
result of test of break condition.

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS