Compile java files and start RMI Registry (In server directory)
$ javac *.java
$ rmiregistry
Start Server
$ java Server <ip_address>
Start Client (In client directory)
javac *.java
java Client <ip_address>
add_edge <node1> <node2> <graph name>
Adds Edge to the graph with given graph name. creates graph if not present alreadyshortest_distance <node1> <node2> <graph name>
Returns shortest distance between any two nodes on any graph. Gives Error if graph not presentget_graph <graph name>
Prints all edges of requested graph
Edge Added using add_edge is directional from node1 to node2