|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.env.AGlobalEnv.ALocalEnv
sysModel.env.ASquareEnv.ASquareLocalEnvironment
sysModel.env.UnboundedEnv.LocalEnvironment
protected class UnboundedEnv.LocalEnvironment
Concrete local environment for the square unbounded environment.
| Nested Class Summary | |
|---|---|
protected class |
UnboundedEnv.LocalEnvironment.MoveLambda
Lambda to execute a move. |
| Field Summary | |
|---|---|
protected ASquareEnv.Direction |
_dir
Direction. |
protected ASquareEnv.Location |
_loc
Location. |
| Fields inherited from class sysModel.env.AGlobalEnv.ALocalEnv |
|---|
_state |
| Constructor Summary | |
|---|---|
UnboundedEnv.LocalEnvironment(ASquareEnv.Location loc,
ASquareEnv.Direction dir)
Construct a new local environment. |
|
| Method Summary | |
|---|---|
ASquareEnv.Direction |
direction()
Accessor for the direction. |
ASquareEnv.Location |
location()
Accessor for the location. |
protected AGlobalEnv.ALocalEnv |
makeMoveFwdLocalEnv()
Make local environment in forward direction. |
protected ILambda |
makeMoveLambda(AGlobalEnv.ALocalEnv le)
Factory method for a move lambda. |
| Methods inherited from class sysModel.env.ASquareEnv.ASquareLocalEnvironment |
|---|
drawFish, toString, turnRight |
| Methods inherited from class sysModel.env.AGlobalEnv.ALocalEnv |
|---|
execute, removeFish, setState, tryBreedFwd, tryMoveFwd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ASquareEnv.Location _loc
protected ASquareEnv.Direction _dir
| Constructor Detail |
|---|
public UnboundedEnv.LocalEnvironment(ASquareEnv.Location loc,
ASquareEnv.Direction dir)
loc - locationdir - direction| Method Detail |
|---|
public ASquareEnv.Location location()
location in class ASquareEnv.ASquareLocalEnvironmentpublic ASquareEnv.Direction direction()
direction in class ASquareEnv.ASquareLocalEnvironmentprotected AGlobalEnv.ALocalEnv makeMoveFwdLocalEnv()
makeMoveFwdLocalEnv in class AGlobalEnv.ALocalEnvprotected ILambda makeMoveLambda(AGlobalEnv.ALocalEnv le)
makeMoveLambda in class AGlobalEnv.ALocalEnvle - local environment for the target
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||