[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Design for #46: graphs and graph traversals
At the TC meeting on Wednesday, we’ll discuss a proposal for representing graphs and graph traversals (Issue #46). This mail presents the proposal. My notation, which I’ll also use in a subsequent design proposal emails, is:
The design is: run +graphs:graph[] +graph id:string description:message nodes:node[] edges:edge[] +node id:integer label:message edges:integer[] # The ids of the edges that connect to this node. location # Code location associated with this node. properties:propertyBag +edge id:integer source:integer # Id of the source node. target:integer # Id of the target node. properties:propertyBag +graphTraversal graphId:string description:message edgeTraversals:edgeTraversal[] +edgeTraversal: edgeId:integer message:message result +graphs:graph[] +graphTraversals:graphTraversal[] The features of the design are:
Larry |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]