bcds.phison.cmd
Class CostChanger
java.lang.Object
bcds.phison.cmd.CostChanger
public class CostChanger
- extends java.lang.Object
Change the costs of links in a topology file.
By default, the output is written to stdout in .sgf format.
Note: If the topology had a traffic matrix it is discarded
in the output provided by this class.
See the output of --help for a description of parameters and
operation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CostChanger
public CostChanger()
readGraph
public void readGraph()
parseArgs
public void parseArgs(java.lang.String[] args)
print_matrices
public void print_matrices()
setCost
public void setCost(Link e,
double c,
java.util.Set<Link> already_seen)
run
public void run()
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException