## Uses of Class
classes.SubNet

Packages that use SubNet
api
ui.controller

### Uses of SubNet in api

Methods in api that return types with arguments of type SubNet
`java.util.ArrayList<SubNet>` CpsAPI.`getSubNets()` a SubNet contains all Components.

### Uses of SubNet in ui.controller

Methods in ui.controller that return SubNet
`SubNet` SimulationManager.`buildSubNet(AbstractCpsObject cps, java.util.ArrayList<java.lang.Integer> visited, SubNet sN)` recursivly generates a subnet of all objects, that one specific object is connected to.

Methods in ui.controller that return types with arguments of type SubNet
`java.util.ArrayList<SubNet>` SimulationManager.`getSubNets()` Get all Subnets.

Methods in ui.controller with parameters of type SubNet
`SubNet` SimulationManager.`buildSubNet(AbstractCpsObject cps, java.util.ArrayList<java.lang.Integer> visited, SubNet sN)` recursivly generates a subnet of all objects, that one specific object is connected to.
`float` SimulationManager.`calculateEnergy(java.lang.String type, SubNet sN, int x)` calculates the energy of either all producers or consumers.
`float` SimulationManager.`calculateMinimumEnergy(SubNet sN, int x)` Calculate the Minimum Energy.
`void` SimulationManager.`setFlow(SubNet sN, boolean simulation)` Sets the Flow.
`void` SimulationManager.`setFlowModelation(SubNet sN)` set the Flow Modelation.
`void` SimulationManager.`setFlowSimulation(SubNet sN)` Set Flow Simulation.