moves
Class BeginFinalize

java.lang.Object
  |
  +--moves.EuMove
        |
        +--moves.bracketFamily
              |
              +--moves.BeginFinalize

public class BeginFinalize
extends moves.bracketFamily

Implements the LEA command BeginFinalize


Field Summary
 
Fields inherited from class moves.EuMove
allowedSegments, in, out
 
Constructor Summary
BeginFinalize(interagents.finalWrapper in, interagents.finalWrapper out, fundamentals.EuArguments args, int beacon)
          This constructor checks syntax and sets up the variables in, out, in.mode, out.mode
 
Method Summary
protected  int postprocess(interagents.EuLab lab, librarian.ppProcessor ppp)
          Performs various postprocessing of the move, updating the ppProcessor and changing segment.
protected  boolean specialSegmentOK(int segment)
          Determines whether a call to this move is legal in the passed special segment.
 
Methods inherited from class moves.EuMove
checkSegment, ex, executeMacro, executeMain, executeSegmentOnly, exMacro, exMain, getFirstOutIndex, initArguments, initBeacon, iobUsageChecks, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postMacro, postMain, preMacro, preMain, preprocess, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeginFinalize

public BeginFinalize(interagents.finalWrapper in,
                     interagents.finalWrapper out,
                     fundamentals.EuArguments args,
                     int beacon)
              throws DesignException
This constructor checks syntax and sets up the variables in, out, in.mode, out.mode

Parameters:
in - the input @see finalWrapper
out - the output @see finalWrapper
args - arguments
beacon - a beacon, or 0 if no such was requested
Method Detail

specialSegmentOK

protected boolean specialSegmentOK(int segment)
Determines whether a call to this move is legal in the passed special segment. This instance true only for BEFORE_FINALIZE.

Overrides:
specialSegmentOK in class EuMove
Parameters:
segment - the current segment
Returns:
true if a call to this move is legal in the passed special segment

postprocess

protected int postprocess(interagents.EuLab lab,
                          librarian.ppProcessor ppp)
                   throws LeaException
Performs various postprocessing of the move, updating the ppProcessor and changing segment.

Overrides:
postprocess in class EuMove
Parameters:
ppp - the ppProcessor to be updated
Returns:
the new segment, FINALIZE
LeaException