Project 01

Last updated: 2026-03-04 01:47:12

Overview

In this project, you need to define a small spatial network using code, plot it, and then calculate and print some of its properties.

Instructions

  • Also see general submission Instructions!

  • Choose a topic for a spatial network, referring to spatial locations in Israel, that has 4-10 nodes, at least one edge, and edge weights. For example:

    • Circular travel route between points of interest in Beer-Sheva
    • Favorite Pizza places and distances between them
    • Travel times between friends houses visiting each other
    • Factories and shops, with edge weights representing amount of items shipped
    • etc.
  • Nodes need to have 'x' and 'y' properties, which are coordinates in EPSG:32636, referring to real-life locations that make sense

  • You don’t have to use real data for the edge weights; you can use any values you like

  • The submission needs to include exactly one '.ipynb' file, with the following parts:

    • In the introduction, write a paragraph of text (in a markdown cell) explaining the network’s meaning:
      • What do the nodes represent?
      • What do the edges represent?
      • What do the edge weights represent?
    • In part 1:
      • Write code that defines the network (object named G)
    • In part 2, write code that plots the network:
      • The plot has to be spatial, using equal x- and y-axis ratio
      • Nodes need to have labels
      • Edge line widths need to be proportional to the edge weights
    • In part 3, write code sections that calculate and print the following network properties:
      • Number of components
      • Number of nodes
      • Number of edges
      • Minimum edge weight value
      • Maximum edge weight value
      • Node degrees
  • All submissions must be unique. Please fill the Google Sheets with the proposed topic you will be working on, to make sure it is appropriate and to make sure that no other student are working on the same topic.