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 NodeConnection. fromThe input node of this connection.NodeConnection. gateNodeThe node which gates this connection.NodeConnection. toThe 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. nodesThe Nodes of the network.Methods in com.github.raimannma.architecture that return Node Modifier and Type Method Description static @NotNull NodeNode. 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 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.voidNetwork. disconnect(@NotNull Node from, Node to)Removes the connection between two nodesvoidNode. disconnect(Node target)Disconnects this node from the target node.voidNetwork. gate(Node node, Connection connection)Makes a network node gate a connectionbooleanNode. isNotProjectingTo(Node target)Checks if there is no connection between this node and the target node.voidNetwork. 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 ConnectionConnection. fromJSON(com.google.gson.JsonObject jsonObject, List<Node> nodes)Convert a JsonObject to a connection.