Package net.wigis.graph.dnv.layout.implementations

Examples of net.wigis.graph.dnv.layout.implementations.RandomLayout


   * Randomize positions.
   */
  public void randomizePositions()
  {
    long startTime = System.currentTimeMillis();
    new RandomLayout().runLayout( graph, level, 100 );
    printTime( "randomizePositions", startTime );
  }
View Full Code Here


    graph = generateGraph( input, n, output );
    graph.writeGraph( Settings.GRAPHS_PATH + "MDS_classicalMDS.dnv" );

    float width = GraphFunctions.getGraphWidth( graph, 0, false );

    new RandomLayout().runLayout( graph, 0, width );
    new FruchtermanReingold().runLayout( width, width, graph, 0.01f, 0, false, false );
    graph.writeGraph( Settings.GRAPHS_PATH + "MDS_FR.dnv" );
  }
View Full Code Here

TOP

Related Classes of net.wigis.graph.dnv.layout.implementations.RandomLayout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.