Uses of Class
com.github.raimannma.architecture.Connection
Package | Description |
---|---|
com.github.raimannma.architecture |
-
Uses of Connection in com.github.raimannma.architecture
Fields in com.github.raimannma.architecture declared as Connection Modifier and Type Field Description Connection
Node. self
Connection to the node itself.Fields in com.github.raimannma.architecture with type parameters of type Connection Modifier and Type Field Description Set<Connection>
Network. connections
The Connections of the network.List<Connection>
Node. gated
Gated connections.Set<Connection>
Network. gates
The Gates of the network.Set<Connection>
Node. in
Incoming connections.Set<Connection>
Node. out
Outgoing connections.Set<Connection>
Network. selfConnections
The Self connections of the network.Methods in com.github.raimannma.architecture that return Connection 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.static Connection
Connection. fromJSON(com.google.gson.JsonObject jsonObject, List<Node> nodes)
Convert a JsonObject to a connection.Methods in com.github.raimannma.architecture with parameters of type Connection Modifier and Type Method Description void
Network. gate(Node node, Connection connection)
Makes a network node gate a connectionvoid
Node. gate(@NotNull Connection connection)
Set this node to gate (influences) the given connection.void
Network. removeGate(Connection connection)
Remove the gate of a connection.void
Node. removeGate(Connection connection)
Stops this node from gating (manipulating) the given connection.