urv.emulator.topology.parser
Class DynamicPajekParserImpl
java.lang.Object
urv.emulator.topology.parser.DynamicPajekParserImpl
- All Implemented Interfaces:
- Parser
public class DynamicPajekParserImpl
- extends java.lang.Object
- implements Parser
This class allows loading Pajek Dynamic network files (.tim)
No order is considered when executing graph changes in a selected
time interval (i.e. commands with in the same time interval can be
run in no defined order
- Author:
- Marcel Arrufat Arias
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARSE_REAL_TIME_INTERVAL
protected static java.lang.String PARSE_REAL_TIME_INTERVAL
PARSE_ADD_VERTEX
protected static java.lang.String PARSE_ADD_VERTEX
PARSE_ADD_EDGE
protected static java.lang.String PARSE_ADD_EDGE
PARSE_HIDE_EDGE
protected static java.lang.String PARSE_HIDE_EDGE
PARSE_SHOW_EDGE
protected static java.lang.String PARSE_SHOW_EDGE
DynamicPajekParserImpl
public DynamicPajekParserImpl()
loadNetwork
public GraphInformation loadNetwork(java.lang.String file)
- Description copied from interface:
Parser
- This method must load network file and create a new NetworkGraph.
NetworkGraph must contain node and edges information (both stored in
LinkedList). This information can be stored by using addNode and addEdge
methods
- Specified by:
loadNetwork
in interface Parser
- Parameters:
file
- local file from which NetworkGraph will be load
- Returns: