# SimulationMetricPartitionType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Partial or total aggregation of values for given metric. TODO type name

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
scope | container SimulationMetricPartitionScopeType | [0,1] | The scope of this partition, i.
value | property decimal | [0,1] | The aggregated metric value according to specified aggregation function.
selectionSize | property int | [0,1] | How many objects were selected by the metric selector?
selectionTotalValue | property decimal | [0,1] | Sum of the metric values for the selected objects.
domainSize | property int | [0,1] | How many objects are there in the domain for this metric?
domainTotalValue | property decimal | [0,1] | Sum of the metric values for all objects in the domain.
selectionMinValue | property decimal | [0,1] | Minimum value in the selection.
domainMinValue | property decimal | [0,1] | Minimum value in the domain.
selectionMaxValue | property decimal | [0,1] | Maximum value in the selection.
domainMaxValue | property decimal | [0,1] | Maximum value in the domain.

- ### Items

  - #### scope

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The scope of this partition, i.e. what dimensions are bound to what values and what are free.

  - #### value

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The aggregated metric value according to specified aggregation function. For example, for VALUE_PER_DOMAIN_ITEM function it is the selectionTotalValue / domainSize. See the description of aggregation functions for more information.

  - #### selectionSize

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How many objects were selected by the metric selector?

  - #### selectionTotalValue

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Sum of the metric values for the selected objects.

  - #### domainSize

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How many objects are there in the domain for this metric?

  - #### domainTotalValue

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Sum of the metric values for all objects in the domain.

  - #### selectionMinValue

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Minimum value in the selection.

  - #### domainMinValue

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Minimum value in the domain.

  - #### selectionMaxValue

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Maximum value in the selection.

  - #### domainMaxValue

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Maximum value in the domain.