Skip to content

neta-r/Ex3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WELCOME TO THE THREE ASSIGMENT IN OOP 2021

What Is It About?

In this assigment we used python for the first time!

We created classes that represent directed weighted graph.

Main Uses

  • Simple operations on the graph such as:
  1. Adding and removing vertices.
  2. Adding and removing edges.
  3. Getting number of edges, vertices and changes made in the graph.

for more information check out part one in the wiki pages

  • More complicated operations on the graph such as:
  1. Getting the shortest path between two vertices and the distance between them, using the Dijkstra algorithm.
  2. Getting the SCC in the graph and a specific vertex' SCC, using the Tarjan algorithm.
  3. Saving the graph to a json format and loding a graph from a json format.
  4. Drawing the graph.

Example to a graph with given positions:

image

Examples to graphs with random positions:

image

image

for more information check out part two in the wiki pages

Compared To Other:

In this project we compared our work at Java (assigment two in this course) and the standard library in python- networkx.

Here are the results:

image

for more information check out part three in the wiki pages

About Us

We are Neta Roth and Tal Somech, second year students in the Ariel University.

You can catch up our latest work in the links below:

THANK YOU! COME AGAIN!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages