Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.graph.dot.impl
Class Anneal_Test02  view Anneal_Test02 download Anneal_Test02.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.port80.graph.dot.impl.Anneal_Test02
All Implemented Interfaces:
junit.framework.Test

public class Anneal_Test02
extends junit.framework.TestCase


Field Summary
private static boolean CHECK
           
private static boolean DEBUG
           
private  com.port80.graph.IGraph fGraph
           
private static boolean fSAVE
           
private static java.lang.String fTestFilename
           
private  VirtualGraph fVGraph
           
private static java.lang.String NAME
           
private static boolean VERBOSE
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
Anneal_Test02(java.lang.String name)
           
 
Method Summary
 void checkMoveVertex(Anneal anneal, VirtualGraph vgraph)
          Check GridFactory.moveVertex().
 void checkRestorePath(Anneal anneal, VirtualGraph vgraph)
          Check ErasedPath.restore() by removing and restoring arbitrary edges.
 void checkRouteBus(Anneal anneal, VirtualGraph vgraph)
           
 void checkRoutePTP(Anneal anneal, VirtualGraph vgraph)
           
static void main(java.lang.String[] args)
           
private  void scrambleChain(VirtualChain chain, VirtualGraph vgraph, GridFactory factory)
          Move chain vertices around to make sure it would be rerouted.
 void testAnneal_02()
           
private static void usage()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

private static final java.lang.String NAME
See Also:
Constant Field Values

DEBUG

private static final boolean DEBUG
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE

CHECK

private static boolean CHECK

fSAVE

private static boolean fSAVE

fTestFilename

private static java.lang.String fTestFilename

fGraph

private com.port80.graph.IGraph fGraph

fVGraph

private VirtualGraph fVGraph
Constructor Detail

Anneal_Test02

public Anneal_Test02(java.lang.String name)
Method Detail

testAnneal_02

public void testAnneal_02()

checkRouteBus

public void checkRouteBus(Anneal anneal,
                          VirtualGraph vgraph)

checkRoutePTP

public void checkRoutePTP(Anneal anneal,
                          VirtualGraph vgraph)

checkMoveVertex

public void checkMoveVertex(Anneal anneal,
                            VirtualGraph vgraph)
Check GridFactory.moveVertex().


checkRestorePath

public void checkRestorePath(Anneal anneal,
                             VirtualGraph vgraph)
Check ErasedPath.restore() by removing and restoring arbitrary edges.


scrambleChain

private void scrambleChain(VirtualChain chain,
                           VirtualGraph vgraph,
                           GridFactory factory)
Move chain vertices around to make sure it would be rerouted.


main

public static void main(java.lang.String[] args)

usage

private static void usage()