![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
One constraint set relative to the node that owns it. More...
#include <topological_sort.h>
Collaboration diagram for dt_digraph_node_constraints_t:Data Fields | |
| dt_digraph_node_t * | previous |
| dt_digraph_node_t * | next |
One constraint set relative to the node that owns it.
Each instance encodes up to two ordering relations involving the owning node ("self"):
previous must come before self.self must come before next.Either pointer may be NULL (meaning "no constraint of this kind" for that set). The obvious thing to consider here is that previous/next doesn't imply immediately adjacent, otherwise that would be a linked list.
| dt_digraph_node_t* dt_digraph_node_constraints_t::next |
Node that must follow the owner node (edge self->next).
| dt_digraph_node_t* dt_digraph_node_constraints_t::previous |
Node that must precede the owner node (edge previous->self).