|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--moves.EuMove
|
+--moves.constructFamily
|
+--moves.constructFamilyBeacon
This class is behind all the LEA moves AddEnds, GetArc, GetHalfLine and FindIntersection. These moves are characterized by the following properties:
| Field Summary | |
protected fundamentals.EuBeacon |
beacon
The beacon |
| Fields inherited from class moves.EuMove |
allowedSegments, in, out |
| Constructor Summary | |
constructFamilyBeacon(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. |
|
constructFamilyBeacon(java.util.Vector inputs,
java.util.Vector results,
java.util.Vector newResults,
interagents.EuLab lab,
java.lang.String inmodes,
java.lang.String outmodes)
This constructor creates, given a selection of objects from a user, a move which the user may elect to perform. |
|
| Method Summary | |
protected void |
initBeacon(int beacon)
Initializes beacon, throwing a DesignException if beacon unexpected This instance will accept beacons, leaving to iobUsageChecks() to check their relevance |
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. |
protected void |
issueBeacon(interagents.finalWrapper preout,
interagents.EuLab lab)
Finds a beacon that distinguishes. |
void |
passExceptionDetails(exceptions.LeaException le)
|
protected void |
refineConstructs(interagents.joinedWrapper findings,
interagents.EuLab lab)
Does nothing, but is overwritten in constructFamilyWithBeacon |
java.lang.String |
toString()
Document the move |
protected void |
weeder(interagents.joinedWrapper findings,
int n,
interagents.EuLab lab)
Weeds among constructed points. |
| Methods inherited from class moves.constructFamily |
ex, findAllConstructs, issueBeacon, postprocess |
| Methods inherited from class moves.EuMove |
checkSegment, executeMacro, executeMain, executeSegmentOnly, exMacro, exMain, getFirstOutIndex, initArguments, name, operationName, passHintDetails, passSelection, postMacro, postMain, preMacro, preMain, preprocess, specialSegmentOK |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected fundamentals.EuBeacon beacon
| Constructor Detail |
public constructFamilyBeacon(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon,
java.lang.String inmodes,
java.lang.String outmodes)
throws DesignException
in - the input @see finalWrapperout - the output @see finalWrapperargs - argumentsbeacon - a beacon, or 0 if no such was requested
public constructFamilyBeacon(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
lab - the current EuLab| Method Detail |
protected void refineConstructs(interagents.joinedWrapper findings,
interagents.EuLab lab)
throws LeaException
constructFamily
refineConstructs in class constructFamilyLeaException
protected void weeder(interagents.joinedWrapper findings,
int n,
interagents.EuLab lab)
throws LeaException
findings - a joinedWrappern - the number of objects desired after weeding (1 or 2)lab - the EuLab with which to weed
LeaException
protected void issueBeacon(interagents.finalWrapper preout,
interagents.EuLab lab)
throws LeaException
issueBeacon in class EuMovelab - the current EuLab
LeaException
protected void initBeacon(int beacon)
throws DesignException
initBeacon in class EuMovebeacon - an integer representing the requested beacon, or 0 if no
beacon requested
DesignException - if beacon unexpectedprotected boolean iobUsageChecks()
iobUsageChecks in class EuMovepublic void passExceptionDetails(exceptions.LeaException le)
passExceptionDetails in class EuMovepublic java.lang.String toString()
toString in class EuMove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||