org.eviline.randomizer
Class AngelRandomizer

java.lang.Object
  extended by org.eviline.randomizer.MaliciousRandomizer
      extended by org.eviline.randomizer.ThreadedMaliciousRandomizer
          extended by org.eviline.randomizer.AngelRandomizer
All Implemented Interfaces:
Serializable, Randomizer

public class AngelRandomizer
extends ThreadedMaliciousRandomizer

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eviline.randomizer.MaliciousRandomizer
MaliciousRandomizer.MaliciousRandomizerProperties
 
Field Summary
 
Fields inherited from class org.eviline.randomizer.ThreadedMaliciousRandomizer
EXECUTOR
 
Fields inherited from class org.eviline.randomizer.MaliciousRandomizer
config, distAdjustment, history, HISTORY_SIZE, random, randomFirst, recent, taunt, typeCounts
 
Constructor Summary
AngelRandomizer(PropertySource p)
           
 
Method Summary
protected  void permuteDecision(Decision typeDecision)
           
 Shape provideShape(Field field)
          Return the Shape to be next played on the argument Field
protected  Decision worstForThreaded(Field field)
           
 
Methods inherited from class org.eviline.randomizer.ThreadedMaliciousRandomizer
decideThreaded
 
Methods inherited from class org.eviline.randomizer.MaliciousRandomizer
config, decide, depth, distribution, fair, getNext, getRandom, getTaunt, name, rfactor, setRandom, worstFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AngelRandomizer

public AngelRandomizer(PropertySource p)
Method Detail

provideShape

public Shape provideShape(Field field)
Description copied from interface: Randomizer
Return the Shape to be next played on the argument Field

Specified by:
provideShape in interface Randomizer
Overrides:
provideShape in class ThreadedMaliciousRandomizer
Returns:

worstForThreaded

protected Decision worstForThreaded(Field field)
Overrides:
worstForThreaded in class ThreadedMaliciousRandomizer

permuteDecision

protected void permuteDecision(Decision typeDecision)
Overrides:
permuteDecision in class MaliciousRandomizer


Copyright © 2013. All Rights Reserved.