Added abstract method to calculate the commandline according to current state of all nodes to controller.