net.sf.colossus.ai
Class ParallelEvaluatorAI.findBestLegionMoveThread

java.lang.Object
  extended by java.lang.Thread
      extended by net.sf.colossus.ai.ParallelEvaluatorAI.findBestLegionMoveThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ParallelEvaluatorAI

private class ParallelEvaluatorAI.findBestLegionMoveThread
extends java.lang.Thread


Nested Class Summary
protected  class ParallelEvaluatorAI.findBestLegionMoveThread.ThreadedTriggerTimeIsUp
           
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  LegionMove best
           
private  java.util.Iterator<LegionMove> iterator
           
private  boolean timeIsUp
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ParallelEvaluatorAI.findBestLegionMoveThread(java.util.Iterator<LegionMove> it)
           
 
Method Summary
 void run()
           
(package private)  java.util.Timer threadedSetupTimer()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timeIsUp

private boolean timeIsUp

best

LegionMove best

iterator

private final java.util.Iterator<LegionMove> iterator
Constructor Detail

ParallelEvaluatorAI.findBestLegionMoveThread

ParallelEvaluatorAI.findBestLegionMoveThread(java.util.Iterator<LegionMove> it)
Method Detail

threadedSetupTimer

java.util.Timer threadedSetupTimer()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread