Skip to content

shucon/Remote-Method-Invocation-Shortest-Path-Finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shared Shortest Path Finder

Distributed Systems Assignment 3

Saksham Gupta

20161090

Running Application

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>

Commands

  • add_edge <node1> <node2> <graph name> Adds Edge to the graph with given graph name. creates graph if not present already
  • shortest_distance <node1> <node2> <graph name> Returns shortest distance between any two nodes on any graph. Gives Error if graph not present
  • get_graph <graph name> Prints all edges of requested graph

Assumption

Edge Added using add_edge is directional from node1 to node2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages