moves
Class ASolution
java.lang.Object
|
+--moves.EuMove
|
+--moves.ASolution
- public class ASolution
- extends EuMove
This class is behind the LEA move ASolution
Constructor Summary |
ASolution(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon)
This constructor checks syntax, given full information from a LEA program. |
Method Summary |
protected void |
exMacro(interagents.EuLab lab,
interagents.explicitHolder caller)
Executes core commands of the move in macro mode, possibly affecting the passed @see EuLab
This instance passes constructed object to calling EuLab. |
protected void |
exMain(interagents.EuLab lab)
Executes core commands of the ASolution move in main mode
possibly affecting the passed @see EuLab |
protected boolean |
iobUsageChecks()
Does various checks to see that the conditions described in the
field Input/output/beacon usage of the description of the LEA
commands are in fact met. |
Methods inherited from class moves.EuMove |
checkSegment, ex, executeMacro, executeMain, executeSegmentOnly, getFirstOutIndex, initArguments, initBeacon, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postMacro, postMain, postprocess, preMacro, preMain, preprocess, specialSegmentOK, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASolution
public ASolution(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon)
throws DesignException
- This constructor checks syntax, given full information from a LEA program.
- Parameters:
in
- the input @see finalWrapperout
- the output @see finalWrapperargs
- argumentsbeacon
- a beacon, or 0 if no such was requested
exMain
protected void exMain(interagents.EuLab lab)
throws UserException,
DesignException
- Executes core commands of the ASolution move in main mode
possibly affecting the passed @see EuLab
- Overrides:
exMain
in class EuMove
- Parameters:
lab
- the @see EuLab on which to work
UserException
DesignException
exMacro
protected void exMacro(interagents.EuLab lab,
interagents.explicitHolder caller)
throws LeaException
- Executes core commands of the move in macro mode, possibly affecting the passed @see EuLab
This instance passes constructed object to calling EuLab.
- Overrides:
exMacro
in class EuMove
- Parameters:
lab
- the @see EuLab on which to workcaller
- the explicitHolder with which to communicate with
the calling program.
LeaException
iobUsageChecks
protected boolean iobUsageChecks()
- Does various checks to see that the conditions described in the
field Input/output/beacon usage of the description of the LEA
commands are in fact met.
- Overrides:
iobUsageChecks
in class EuMove
- Returns:
- true if no problem encountered