HomePhorge

Feature #2597 -- use O(1) methods as often as possible.
9584cda2a529Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Feature #2597 -- use O(1) methods as often as possible.

This uses a separate hash and array to track the visited path and the seen
vertex data; while that is less efficient than using a single data structure,
it avoids on O(n) operation on the stack to determine if we have previously
visited a vertex.

Details

Provenance
Daniel Pittman <daniel@rimspace.net>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd302628f9dc5: Feature #2597 -- improve names and whitespace in the code.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@rimspace.net> committed rPU9584cda2a529: Feature #2597 -- use O(1) methods as often as possible. (authored by Daniel Pittman <daniel@rimspace.net>).Feb 4 2011, 1:45 AM