GraphEngine Class

The GraphEngine class is the core engine of Neuronify More...

Header: #include <GraphEngine>
Inherits: QQuickItem.

Properties

  • edges : const QQmlListProperty<Edge>
  • nodes : const QQmlListProperty<NodeBase>

Public Functions

GraphEngine(QQuickItem * parent = 0)
~GraphEngine()
QQmlListProperty<Edge> edges()
QQmlListProperty<NodeBase> nodes()

Public Slots

void addEdge(Edge * edge)
void addNode(NodeBase * node)
void removeEdge(Edge * edge)
void removeNode(NodeBase * node)
void step(double dt)

Additional Inherited Members

Detailed Description

The GraphEngine class is the core engine of Neuronify

GraphEngine holds all the nodes and edges of the network. It iterates the network forward in time by stepping each node and organizing the communication along edges.

See also NodeBase, NodeEngine, and Node.

Property Documentation

edges : const QQmlListProperty<Edge>

Access functions:

QQmlListProperty<Edge> edges()

nodes : const QQmlListProperty<NodeBase>

Access functions:

QQmlListProperty<NodeBase> nodes()

Member Function Documentation

GraphEngine::GraphEngine(QQuickItem * parent = 0)

GraphEngine::~GraphEngine()

[slot] void GraphEngine::addEdge(Edge * edge)

[slot] void GraphEngine::addNode(NodeBase * node)

[slot] void GraphEngine::removeEdge(Edge * edge)

[slot] void GraphEngine::removeNode(NodeBase * node)

[slot] void GraphEngine::step(double dt)