Skip to content

Design data structure for storing unit information #4

@saikumarmk

Description

@saikumarmk

Design a class that will store information about a unit. Below is a prototype of a class for the requisites, which should be contained within the unit class.

class Requisites:

    prerequisites: list[dict[str]]  # [{'NumReq':int, units:list[str]}, ...]
    permissionRequired: bool 
    prohibitions: list[str] # [MTH1020, PHS1030...]
    corequisites: list[str] # Same as above
    creditPoints: int # 0 by default, 24 for MTH2132 and other special units
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions