CurricularAnalytics / CurricularAnalytics.jl

CurricularAnalytics.jl is a toolbox for studying and analyzing academic program curricula.
GNU Affero General Public License v3.0
23 stars 19 forks source link

Refactor vertex_id to Dict #2

Closed haydenfree closed 6 years ago

haydenfree commented 6 years ago

A course has a one to many relationship with curricula, therefor it may be associated with more than one curriculum graph. Refactor the vertex_id field to be a dictionary so that the course can have a unique vertex ID in more than curriculum graph.

ex: vertex_id::Dict{Int, Int} where the first Int is the ID of a curriculum graph, and the second int is the vertex_id of the course within that particular graph.

haydenfree commented 6 years ago

@heileman I think you may be best suited for this. Not sure that the key of the Dict should necessarily be an Int, might be something better.

haydenfree commented 6 years ago

Fixed by 1ddf56c