Class Route

java.lang.Object
  extended by 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.


Field Summary
private  int anneal_steps
           
private  RouteList best_route
           
private  double best_route_length
           
private  double factor
           
private  boolean fixed_end_pts
           
private  int iterations
           
private  int node_index
           
private  RouteList old_route
           
private  RouteList route
           
private  double route_length
           
private  boolean single_step
           
private  int swaps_per_step
           
private  double Temperature
           
private  int trials_per_step
           
 
Constructor Summary
Route()
           
 
Method Summary
(package private)  RouteList findBestRoute(FibreModule theFibreModule)
          Find the best route around the fibres in the fibre module
private  void findBetterRoute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Route

Route()
Method Detail

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()