|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.projects.genesis.transport.Movement
public class Movement
Field Summary | |
---|---|
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
_Destination_Point2D
|
GENESIS_Environment |
_Environment
|
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Network2D |
_networkRoute_VectorNetwork2D
|
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
_Origin_Point2D
|
Constructor Summary | |
---|---|
Movement()
|
|
Movement(GENESIS_Environment _Environment)
|
|
Movement(GENESIS_Environment _Environment,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Origin_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Destination_Point2D)
|
|
Movement(Movement _Movement)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object _Object)
|
java.lang.Object[] |
getConstrainedMovement_0(int _MovementConstraint,
java.util.HashMap _Movement_Counts_HashMap,
GENESIS_Environment _Environment,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Current_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Eventual_Destination_Point2D)
|
java.lang.Object[] |
getConstrainedMovement_1(int _MovementConstraint,
java.util.HashMap _Movement_Counts_HashMap,
GENESIS_Environment _Environment,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Current_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Eventual_Destination_Point2D)
|
java.lang.Object[] |
getConstrainedMovement(int _MovementConstraint,
java.util.HashMap _Movement_Counts_HashMap,
GENESIS_Environment _Environment,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Current_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Desired_Point2D)
|
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
getNewPoint2D_0(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D origin_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D destination_Point2D,
GENESIS_Environment _Environment)
This movement is first diagonal then vertical or horizontal. |
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
getNewPoint2D_1(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D origin_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D destination_Point2D,
GENESIS_Environment _Environment)
This movement is first horizontal or vertical until destination is on a diagonal. |
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
getNewPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D,
int _Movement)
0 1 2 3 4 5 6 7 8 |
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
getNewPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D,
int _Movement,
GENESIS_Environment _Environment)
Deprecated. |
static uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
getPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D a_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D b_Point2D,
java.math.BigDecimal distance_BigDecimal,
int a_DecimalPlacePrecision)
|
static uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D |
getPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D a_Point2D,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D b_Point2D,
double distance,
int a_DecimalPlacePrecision)
|
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Network2D |
getShortStraightNetworkPath()
|
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Network2D |
getTravellingSalesmanRoute(double[] origin,
double[] destination,
TSMisc a_TSMisc)
Precision needs looking at! |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public transient GENESIS_Environment _Environment
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Origin_Point2D
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Destination_Point2D
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Network2D _networkRoute_VectorNetwork2D
Constructor Detail |
---|
public Movement()
public Movement(GENESIS_Environment _Environment)
public Movement(Movement _Movement)
public Movement(GENESIS_Environment _Environment, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Origin_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Destination_Point2D)
Method Detail |
---|
public boolean equals(java.lang.Object _Object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D getPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D a_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D b_Point2D, double distance, int a_DecimalPlacePrecision)
a_Point2D
- b_Point2D
- distance
- a_DecimalPlacePrecision
-
public static uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D getPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D a_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D b_Point2D, java.math.BigDecimal distance_BigDecimal, int a_DecimalPlacePrecision)
a_Point2D
- b_Point2D
- distance
- a_DecimalPlacePrecision
-
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Network2D getTravellingSalesmanRoute(double[] origin, double[] destination, TSMisc a_TSMisc)
origin
- destination
- a_TSMisc
- a_DecimalPlacePrecision
-
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Network2D getShortStraightNetworkPath()
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D getNewPoint2D_0(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D origin_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D destination_Point2D, GENESIS_Environment _Environment)
_Point2D
- _Destination
- _Environment
-
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D getNewPoint2D_1(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D origin_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D destination_Point2D, GENESIS_Environment _Environment)
_Point2D
- _Destination
- _Environment
-
public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D getNewPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D, int _Movement)
_Point2D
- _Movement
- A value of 4 means no change
public java.lang.Object[] getConstrainedMovement_0(int _MovementConstraint, java.util.HashMap _Movement_Counts_HashMap, GENESIS_Environment _Environment, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Current_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Eventual_Destination_Point2D)
_MovementConstraint
- _Movement_Counts_HashMap
- _Environment
- _Current_Point2D
- _Eventual_Destination_Point2D
-
public java.lang.Object[] getConstrainedMovement_1(int _MovementConstraint, java.util.HashMap _Movement_Counts_HashMap, GENESIS_Environment _Environment, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Current_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Eventual_Destination_Point2D)
_MovementConstraint
- _Movement_Counts_HashMap
- _Environment
- _Current_Point2D
- _Eventual_Destination_Point2D
-
public java.lang.Object[] getConstrainedMovement(int _MovementConstraint, java.util.HashMap _Movement_Counts_HashMap, GENESIS_Environment _Environment, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Current_Point2D, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Desired_Point2D)
@Deprecated public uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D getNewPoint2D(uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D, int _Movement, GENESIS_Environment _Environment)
_Point2D
- _Movement
- A value of 4 means no change
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |