Class BestTreeFM

java.lang.Object
  |
  +--BestTreeFM

public class BestTreeFM
extends java.lang.Object

This class keeps the best tree information in the FM algorithm.


Constructor Summary
BestTreeFM()
          Constructs a default best tree object in the FM algorithm
 
Method Summary
 MyJTable getBestComputeDisTable()
          Gets the computed distance table in the best tree in the FM algorithm.
 TreeDisplay getBestTreeDisplay()
          Gets the tree drawing object in the best tree in the FM algorithm.
 javax.swing.JFrame getBestTreeFrame()
          Gets the best tree window in the FM algorithm.
 void setBestComputeDisTable(MyJTable inBestComputeDisTable)
          Sets the computed distance table in the best tree in the FM algorithm.
 void setBestTreeDisplay(TreeDisplay bestTreeDisplayOthers)
          Sets the tree drawing object in the best tree in the FM algorithm.
 void setBestTreeFrame(javax.swing.JFrame bestTreeFrameOthers)
          Sets the best tree window in the FM algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestTreeFM

public BestTreeFM()
Constructs a default best tree object in the FM algorithm

Method Detail

getBestTreeDisplay

public TreeDisplay getBestTreeDisplay()
Gets the tree drawing object in the best tree in the FM algorithm.

Returns:
the tree drawing object in the best tree in the FM algorithm

getBestTreeFrame

public javax.swing.JFrame getBestTreeFrame()
Gets the best tree window in the FM algorithm.

Returns:
the best tree window in the FM algorithm

getBestComputeDisTable

public MyJTable getBestComputeDisTable()
Gets the computed distance table in the best tree in the FM algorithm.

Returns:
the computed distance table in the best tree in the FM algorithm

setBestTreeDisplay

public void setBestTreeDisplay(TreeDisplay bestTreeDisplayOthers)
Sets the tree drawing object in the best tree in the FM algorithm.

Parameters:
bestTreeDisplayOthers - the tree drawing object in the best tree in the FM algorithm

setBestTreeFrame

public void setBestTreeFrame(javax.swing.JFrame bestTreeFrameOthers)
Sets the best tree window in the FM algorithm.

Parameters:
bestTreeFrameOthers - the best tree window in the FM algorithm

setBestComputeDisTable

public void setBestComputeDisTable(MyJTable inBestComputeDisTable)
Sets the computed distance table in the best tree in the FM algorithm.

Parameters:
inBestComputeDisTable - the computed distance table in the best tree in the FM algorithm