bcds.phison.cmd
Class IOFormatFromDot

java.lang.Object
  extended by bcds.phison.cmd.IOFormatFromDot

public class IOFormatFromDot
extends java.lang.Object

IOFormatFromDot implements a very simple converter from a topology in DOT format to one of PHISON's supported formats, such as SGF, NET of GraphML.

Subgraphs are not supported, and all attributes are ignored. The syntax checking is minimal. The restrictions are as follows:

Capacity and cost is automatically set to 1 for all links. The traffic matrix section is left empty but present.

This program can successfully read a .dot file generated by PHISON's own routines as well as by DRMSIM. It has not been tested with other input files.

See the output of --help for a description of parameters and operation.

Author:
Juan Segovia S.

Constructor Summary
IOFormatFromDot()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void parseArgs(java.lang.String[] args)
           
 void writeGraph()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOFormatFromDot

public IOFormatFromDot()
Method Detail

parseArgs

public void parseArgs(java.lang.String[] args)

writeGraph

public void writeGraph()

main

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