Skip to content

Implement error checking from make_edge() #94

Closed
@EwanC

Description

@EwanC

Our graphs specification defines the following conditions deriving from make_edge()

  • queue is recording commands to the graph object.
  • if src or dest are not valid nodes assigned to the graph object.
  • if src and dest are the same node.
  • cycle discovered on finalization.

We should implement checks for these in the code, and test the exceptions are thrown.

Metadata

Metadata

Assignees

Labels

Graph ImplementationRelated to DPC++ implementation and testingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions