int function ( PlantNode arg0 ) { return ( int ) Math . ceil ( ( ( double ) arg0 . getNumberOfTimesCrossed ( ) ) / maxCrossingsWithPlant ) ; }
get the required number of duplicates of the given plant to perform all scheduled crossings . concode_field_sep int maxCrossingsWithPlant concode_elem_sep String ID concode_field_sep boolean maxCrossingsWithPlantExceeded concode_elem_sep int getMaxCrossingsWithPlant concode_elem_sep boolean isSatisfied concode_elem_sep String getID