wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
Simulation::SortResult Struct Reference

Result of topological sort with feedback detection. More...

#include <Simulation.h>

Public Attributes

QSet< GraphicElement * > feedbackNodes
 Elements in feedback loops.
QHash< GraphicElement *, int > priorities
 Priority per element.
QVector< GraphicElement * > sorted
 Elements in priority order (highest first).

Detailed Description

Result of topological sort with feedback detection.

Definition at line 123 of file Simulation.h.

Member Data Documentation

◆ feedbackNodes

QSet<GraphicElement *> Simulation::SortResult::feedbackNodes

Elements in feedback loops.

Definition at line 126 of file Simulation.h.

Referenced by Simulation::topologicalSort().

◆ priorities

QHash<GraphicElement *, int> Simulation::SortResult::priorities

Priority per element.

Definition at line 125 of file Simulation.h.

Referenced by Simulation::topologicalSort().

◆ sorted

QVector<GraphicElement *> Simulation::SortResult::sorted

Elements in priority order (highest first).

Definition at line 124 of file Simulation.h.

Referenced by Simulation::topologicalSort().


The documentation for this struct was generated from the following file: