DecoratedState.java 917 B

1234567891011121314151617181920212223242526272829
  1. package ui.model;
  2. import java.util.ArrayList;
  3. public class DecoratedState {
  4. int timestepOfState;
  5. ArrayList<DecoratedNetwork> networkList;
  6. ArrayList<DecoratedCable> leftOverEdges;
  7. ArrayList<DecoratedSwitch> decoratedSwitches;
  8. public DecoratedState(ArrayList<DecoratedNetwork> networkList, ArrayList<DecoratedCable> leftOverEdges, ArrayList<DecoratedSwitch> decoratedSwitches , int timestepOfState){
  9. this.networkList = networkList;
  10. this.leftOverEdges = leftOverEdges;
  11. this.decoratedSwitches = decoratedSwitches;
  12. this.timestepOfState = timestepOfState;
  13. }
  14. public ArrayList<DecoratedNetwork> getNetworkList() {
  15. return networkList;
  16. }
  17. public ArrayList<DecoratedCable> getLeftOverEdges() {
  18. return leftOverEdges;
  19. }
  20. public ArrayList<DecoratedSwitch> getDecoratedSwitches() {
  21. return decoratedSwitches;
  22. }
  23. public int getTimestepOfState() {
  24. return timestepOfState;
  25. }
  26. }