Class Route
java.lang.Object
Route
class Route
- extends java.lang.Object
The class Route provides a method for getting the fastest route
for the robot to take when moving between fibres in the fibre module.
NOTE: This class is currently not used by any other class.
Constructor Summary |
Route()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
route
private RouteList route
route_length
private double route_length
best_route
private RouteList best_route
best_route_length
private double best_route_length
old_route
private RouteList old_route
factor
private double factor
anneal_steps
private int anneal_steps
trials_per_step
private int trials_per_step
swaps_per_step
private int swaps_per_step
Temperature
private double Temperature
iterations
private int iterations
node_index
private int node_index
single_step
private boolean single_step
fixed_end_pts
private boolean fixed_end_pts
Route
Route()
findBestRoute
RouteList findBestRoute(FibreModule theFibreModule)
- Find the best route around the fibres in the fibre module
- Parameters:
theFibreModule
- The fibre module
- Returns:
- The list containing the optimum fibre order for the route
findBetterRoute
private void findBetterRoute()