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 ConnectionNode. selfConnection to the node itself.Fields in com.github.raimannma.architecture with type parameters of type Connection Modifier and Type Field Description Set<Connection>Network. connectionsThe Connections of the network.List<Connection>Node. gatedGated connections.Set<Connection>Network. gatesThe Gates of the network.Set<Connection>Node. inIncoming connections.Set<Connection>Node. outOutgoing connections.Set<Connection>Network. selfConnectionsThe Self connections of the network.Methods in com.github.raimannma.architecture that return Connection Modifier and Type Method Description ConnectionNetwork. connect(Node from, Node to)Connect two nodes with weight equals 0.ConnectionNode. connect(Node target, double weight)Connect this node to another node.static ConnectionConnection. 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 voidNetwork. gate(Node node, Connection connection)Makes a network node gate a connectionvoidNode. gate(@NotNull Connection connection)Set this node to gate (influences) the given connection.voidNetwork. removeGate(Connection connection)Remove the gate of a connection.voidNode. removeGate(Connection connection)Stops this node from gating (manipulating) the given connection.