Class MapSchedule.Builder

  • Enclosing class:
    MapSchedule

    public static class MapSchedule.Builder
    extends Object
    DynamicCustomOpsBuilder for conveniently constructing map schedules
    • Constructor Detail

      • Builder

        public Builder​(ScheduleType scheduleType)
        Parameters:
        scheduleType - Schedule opType to use
    • Method Detail

      • add

        public MapSchedule.Builder add​(int position,
                                       double value)
        Add a single point to the map schedule. Indexes start at 0
        Parameters:
        position - Position to add (iteration or epoch index, depending on setting)
        value - Value for that iteraiton/epoch