Skip to content

Latest commit

 

History

History
81 lines (81 loc) · 1.52 KB

class_uml.md

File metadata and controls

81 lines (81 loc) · 1.52 KB

UML Diagram

custom_mark10 import java.util.List; /************************** *@opt inferrel *@opt collpackages java.util.* *@opt inferdep *@hidden */ class UMLOptions {} /************************** *@opt attributes */ class Element { public string name; } /************************** *@opt attributes */ class Node extends Element { public Coordinate location; public double elevation; } /************************** *@opt attributes */ class Link extends Element { public Node from; public Node to; } /************************** *@opt attributes */ class Pipe extends Link { public double length; public double diameter; public double roughness; } /************************** *@opt attributes */ class Valve extends Link { public double setting; } /************************** *@opt attributes */ class Pump extends Link { public double speed; } /************************** *@opt attributes */ class Junction extends Node { public double demand; } /************************** *@opt attributes */ class Tank extends Node { public double level; } /************************** *@opt attributes */ class Reservoir extends Node { public double head; } /************************** *@opt attributes *@opt shape activeclass *@opt inferreltype composed */ class Network { List nodes; List links; } custom_mark10