TuttleOFX
1
|
Data Structures | |
class | Setup1 |
class | Setup2 |
class | Setup3 |
class | TimeDomain |
class | ComputeHashAtTime |
class | DeployTime |
Create a new version of a graph with nodes deployed over time. More... | |
struct | IdentityNodeConnection |
class | RemoveIdentityNodes |
class | PreProcess1 |
class | PreProcess2 |
class | OptimizeGraph |
class | Process |
class | PostProcess |
class | BeforeRenderCallbackVisitor |
class | CycleDetector |
detect if there is a cycle inside a directed graph or if we can garantee that it's a DAG, Directed Acyclic Graph. More... | |
class | MarkUsed |
class | Test_dfs |
class | Test_bfs |
Functions | |
template<class TGraph > | |
void | removeIdentityNodes (TGraph &graph, const std::vector< IdentityNodeConnection< TGraph > > &nodesToRemove) |
Unconnect identity nodes and re-connect neightbors nodes. |
void tuttle::host::graph::visitor::removeIdentityNodes | ( | TGraph & | graph, |
const std::vector< IdentityNodeConnection< TGraph > > & | nodesToRemove | ||
) |
Unconnect identity nodes and re-connect neightbors nodes.
//////////////////////////////////////////////////////////////////////////////// // Output at time 5 // | // Retime time -2 <-- identity node declare to use Merge at time 3 // | // Merge at time 3 <-- identity node declare to use ReadA at time 3 // / \ // / \ // / \ // ReadA time 3 ReadB time 3 // //////////////////////////////////////////////////////////////////////////////// // After removing identity nodes: // // Output at time 5 // | // ReadA time 3 // // Retime time -2 <-- leave unconnected // Merge at time 3 <-- leave unconnected // ReadB time 3 <-- leave unconnected ////////////////////////////////////////////////////////////////////////////////
Definition at line 494 of file ProcessVisitors.hpp.
References tuttle::host::graph::visitor::IdentityNodeConnection< TGraph >::OutputClipConnection::_dstNode, tuttle::host::graph::visitor::IdentityNodeConnection< TGraph >::OutputClipConnection::_dstNodeClip, tuttle::host::graph::visitor::IdentityNodeConnection< TGraph >::_identityVertex, tuttle::host::graph::visitor::IdentityNodeConnection< TGraph >::_input, tuttle::host::graph::visitor::IdentityNodeConnection< TGraph >::_outputs, and TUTTLE_TLOG_TRACE.
Referenced by tuttle::host::graph::ProcessGraph::setupAtTime().