planet.generic.commonapi.results
Class ResultsPajekGenerator

java.lang.Object
  extended byplanet.generic.commonapi.results.ResultsPajekGenerator
All Implemented Interfaces:
ResultsGenerator, java.io.Serializable

public class ResultsPajekGenerator
extends java.lang.Object
implements ResultsGenerator

This generator builds an output in Pajek format. Uses some GML specific implementations.

Author:
Pedro Garcia, Jordi Pujol 15/02/2005
See Also:
Serialized Form

Constructor Summary
ResultsPajekGenerator()
          Anything to do.
 
Method Summary
 void generateResults(Network network, java.lang.String out, ResultsConstraint constraint, boolean wholeNetworkLayout)
          This method generates the Pajek information into out file for the specified network.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsPajekGenerator

public ResultsPajekGenerator()
Anything to do.

Method Detail

generateResults

public void generateResults(Network network,
                            java.lang.String out,
                            ResultsConstraint constraint,
                            boolean wholeNetworkLayout)
This method generates the Pajek information into out file for the specified network.

Specified by:
generateResults in interface ResultsGenerator
Parameters:
network - Network.
out - Path of the file to write it out.
constraint - Constraint used to select edges for the results
wholeNetworkLayout - This boolean indicates if we want to shown all the nodes of the network.
See Also:
ResultsGenerator.generateResults(planet.commonapi.Network, java.lang.String, planet.commonapi.results.ResultsConstraint, boolean)