no.priv.garshol.duke.genetic
Class Aspect

java.lang.Object
  extended by no.priv.garshol.duke.genetic.Aspect
Direct Known Subclasses:
ComparatorAspect, HighProbabilityAspect, LowProbabilityAspect, ThresholdAspect

public abstract class Aspect
extends Object

Represents an aspect of a Configuration that might be changed by the genetic algorithm.


Constructor Summary
Aspect()
           
 
Method Summary
abstract  void setFromOther(Configuration config, Configuration other)
          Set this aspect of the configuration to be the same as that of the other configuration.
abstract  void setRandomly(Configuration config)
          Randomly modify this aspect of the Configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aspect

public Aspect()
Method Detail

setRandomly

public abstract void setRandomly(Configuration config)
Randomly modify this aspect of the Configuration.


setFromOther

public abstract void setFromOther(Configuration config,
                                  Configuration other)
Set this aspect of the configuration to be the same as that of the other configuration.



Copyright © 2013. All Rights Reserved.