idmtools.builders.sweep_arm module#

idmtools SimulationBuilder definition.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

class idmtools.builders.sweep_arm.ArmType(value)[source]#

Bases: Enum

ArmTypes.

cross = 0#
pair = 1#
class idmtools.builders.sweep_arm.SweepArm(type=ArmType.cross, funcs: List[Tuple[Callable, Iterable]] | None = None)[source]#

Bases: SimulationBuilder

Class that represents a section of simulation sweeping.

__init__(type=ArmType.cross, funcs: List[Tuple[Callable, Iterable]] | None = None)[source]#

Constructor.

property count#

Return simulations count.

property functions#

Get functions. :returns: functions