Uses of Class
com.github.raimannma.architecture.Node
Package | Description |
---|---|
com.github.raimannma.architecture |
-
Uses of Node in com.github.raimannma.architecture
Fields in com.github.raimannma.architecture declared as Node Modifier and Type Field Description Node
Connection. from
The input node of this connection.Node
Connection. gateNode
The node which gates this connection.Node
Connection. to
The output node of this connection.Fields in com.github.raimannma.architecture with type parameters of type Node Modifier and Type Field Description List<Node>
Network. nodes
The Nodes of the network.Methods in com.github.raimannma.architecture that return Node Modifier and Type Method Description static @NotNull Node
Node. fromJSON(@NotNull com.google.gson.JsonObject jsonObject)
Convert a JsonObject to a node.Methods in com.github.raimannma.architecture with parameters of type Node Modifier and Type Method Description Connection
Network. connect(Node from, Node to)
Connect two nodes with weight equals 0.Connection
Node. connect(Node target, double weight)
Connect this node to another node.void
Network. disconnect(@NotNull Node from, Node to)
Removes the connection between two nodesvoid
Node. disconnect(Node target)
Disconnects this node from the target node.void
Network. gate(Node node, Connection connection)
Makes a network node gate a connectionboolean
Node. isNotProjectingTo(Node target)
Checks if there is no connection between this node and the target node.void
Network. remove(Node node)
Removes a node from a network.Method parameters in com.github.raimannma.architecture with type arguments of type Node Modifier and Type Method Description static Connection
Connection. fromJSON(com.google.gson.JsonObject jsonObject, List<Node> nodes)
Convert a JsonObject to a connection.