CNode is complex node, supports dynamic establishment and optimization of connections between nodes )
Project description
CNode(Complex node)
The actual object can be abstracted as a node, and the relationship between the objects is expressed by the connections between the nodes.
Each node has a specific meaning and can correspond to a data object or process object. The connection between nodes represents the relationship between them. If the status of a node is active, the status of the related node may be active too. In general, there are many factors that cause the state of a node to change. Each factor is associated with multiple other nodes(objects). The structure of the node needs to reflect this case, so a node is not a simple abstract point, but should have relatively complex structure.
Cnode consists of multiple input points and an output point. Each input point is connected to multiple other nodes, which can be regarded as a factor affecting the state of the node. The input point and other nodes are connected through a network. The output point is connected to all input points. The number of input points and connected cnodes can be changed dynamically.
Given status of some nodes, taken these nodes as the input points of other nodes, and get the status of output point of these nodes. A node can correspond to an actual object. When the node is activated, the corresponding object can do some processing. The connections between nodes can be judged based the actual object activation is correct or not.
It's features :
- Each node can correspond to an actual object
- Each node is true (activated) can be determined by multiple factors (points), each factor is related to multiple other nodes.
- Each node forms a network through connections and their parameters, supporting inference based on the relationship between nodes.
- Supports dynamic execution(reasoning) to obtain new active nodes
- The execution or inference logic is placed in NodePoint's OnExecute method, which can be flexibly defined, including the use of neural networks algorithm.
- Supports dynamic establishment and optimization of connections between nodes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file cnode-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: cnode-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40fc4c79423dc360ede2b2afc038bfd8346a8b764d164044bc9d59ea24be65b0 |
|
MD5 | b5298d5327cb4da77bb77f32a72010aa |
|
BLAKE2b-256 | add546a589d5445bca89020839c8ece412d19b8a0ee6f638bdfa7256d460f9e1 |