moves
Class constructFamilyRandom
java.lang.Object
|
+--moves.EuMove
|
+--moves.constructFamily
|
+--moves.constructFamilyRandom
- Direct Known Subclasses:
- AddAuxiliary, AddRadius
- public abstract class constructFamilyRandom
- extends constructFamily
This class is behind the LEA moves
AddAuxiliary and AddRadius.
Field Summary |
protected java.util.Random |
croupier
|
Constructor Summary |
constructFamilyRandom(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon,
java.lang.String inmodes,
java.lang.String outmodes)
This constructor tries, given full information for a LEA program, to find an input
and an output mode and checks that no
arguments are passed. |
constructFamilyRandom(java.util.Vector inputs,
java.util.Vector results,
java.util.Vector newResults,
interagents.EuLab lab,
java.lang.String inmodes,
java.lang.String outmodes)
|
Method Summary |
protected void |
preprocess(librarian.ppProcessor ppp)
Performs various preprocessing of the move.
|
Methods inherited from class moves.EuMove |
checkSegment, executeMacro, executeMain, executeSegmentOnly, exMacro, exMain, getFirstOutIndex, initArguments, initBeacon, iobUsageChecks, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postMacro, postMain, preMacro, preMain, specialSegmentOK, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
croupier
protected java.util.Random croupier
constructFamilyRandom
public constructFamilyRandom(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon,
java.lang.String inmodes,
java.lang.String outmodes)
throws DesignException
- This constructor tries, given full information for a LEA program, to find an input
and an output mode and checks that no
arguments are passed.
- Parameters:
in
- the input @see finalWrapperout
- the output @see finalWrapperargs
- argumentsbeacon
- a beacon, or 0 if no such was requested
constructFamilyRandom
public constructFamilyRandom(java.util.Vector inputs,
java.util.Vector results,
java.util.Vector newResults,
interagents.EuLab lab,
java.lang.String inmodes,
java.lang.String outmodes)
throws LeaException
preprocess
protected void preprocess(librarian.ppProcessor ppp)
throws LeaException
- Performs various preprocessing of the move.
Updates in- or output given in pidgin or by label. This instance also
collects a random number generator for use in executing the move.
- Overrides:
preprocess
in class EuMove
- Parameters:
ppp
- the ppProcessor from which to get
additional information
LeaException