Skip to main content

Dimensions

Dimensions is an element grouping all dimension parameters influencing Diversity Swapper. The lack of the Dimension element will disable swapper functionality (no dimension). Following are examples of Dimensions:

ClosedPriceWeight
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="5">
        <Carrier Weight="10">
<Default Options="1"/>
<Override Code="K0" Options="20"/>
</Carrier>
      </Dimensions>
    </DiversityControl>
ClosedTravelTime Weight
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <TravelTime Weight="10"/>
      </Dimensions>
    </DiversityControl>
ClosedCarrier Weight
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="10">
        <Carrier Weight="10">
<Default Options="1"/>
<Override Code="K0" Options="20"/>
</Carrier>
      </Dimensions>
    </DiversityControl>
ClosedCarrier Online Indicator
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="10">
        <Carrier Weight="10" OnlineIndicator=”true”>
<Default Options="1"/>
<Override Code="K0" Options="20"/>
</Carrier>
      </Dimensions>
    </DiversityControl>
ClosedCarrier Default Options
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="10">
        <Carrier Weight="10">
<Default Options="1"/>
</Carrier>
      </Dimensions>
    </DiversityControl>
ClosedCarrier Override Code
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="10">
        <Carrier Weight="10">
<Default Options="1"/>
<Override Code="K0" Options="20"/>
</Carrier>
      </Dimensions>
    </DiversityControl>
ClosedCarrier Override Options
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="10">
        <Carrier Weight="10">
<Default Options="1"/>
<Override Code="K0" Options="20"/>
</Carrier>
      </Dimensions>
    </DiversityControl>
ClosedOperating Duplicate Weight
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <OperatingDuplicate Weight="10">
<PreferredCarrier Code="K0"/>
</OperatingDuplicate>
      </Dimensions>
    </DiversityControl>
ClosedOperating Duplicate Preferred Carrier Code
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <OperatingDuplicate Weight="10">
<PreferredCarrier Code="K0"/>
</OperatingDuplicate>
      </Dimensions>
    </DiversityControl>
ClosedInbound Outbound Pairing Weight
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <InboundOutboundPairing Weight="10" Duplicates="1"/>
      </Dimensions>
    </DiversityControl>
ClosedInbound Outbound Pairing Duplicates
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <InboundOutboundPairing Weight="10" Duplicates="3"/>
      </Dimensions>
    </DiversityControl>
ClosedTime of Day Weight
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <TimeOfDay Weight="10">
                    <Distribution Direction="Outbound" Endpoint="Departure">
                        <Range Begin="00:00" End="07:59" Options="5%"/>
                        <Range Begin="08:00" End="15:59" Options="5%"/>
                        <Range Begin="16:00" End="23:59" Options="90%"/>
                                        </Distribution>
                </TimeOfDay>
      </Dimensions>
    </DiversityControl>
ClosedTime of Day Distribution Direction
DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <TimeOfDay Weight="10">
                    <Distribution Direction="Outbound" Endpoint="Departure">
                        <Range Begin="00:00" End="07:59" Options="5%"/>
                        <Range Begin="08:00" End="15:59" Options="5%"/>
                        <Range Begin="16:00" End="23:59" Options="90%"/>
                                        </Distribution>
                </TimeOfDay>
      </Dimensions>
    </DiversityControl>
ClosedTime of Day Distribution Leg
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <TimeOfDay Weight="10">
                    <Distribution Leg=”1” Endpoint="Departure">
                        <Range Begin="00:00" End="07:59" Options="5%"/>
                        <Range Begin="08:00" End="15:59" Options="5%"/>
                        <Range Begin="16:00" End="23:59" Options="90%"/>
                                        </Distribution>
                </TimeOfDay>
      </Dimensions>
    </DiversityControl>
ClosedTime of Day Distribution Endpoint
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <TimeOfDay Weight="10">
                    <Distribution Leg=”1” Endpoint="Departure">
                        <Range Begin="00:00" End="07:59" Options="5%"/>
                        <Range Begin="08:00" End="15:59" Options="5%"/>
                        <Range Begin="16:00" End="23:59" Options="90%"/>
                                        </Distribution>
                </TimeOfDay>
      </Dimensions>
    </DiversityControl>
ClosedTime of Day Distribution Range Begin
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <TimeOfDay Weight="10">
                    <Distribution Leg=”1” Endpoint="Departure">
                        <Range Begin="00:00" End="07:59" Options="5%"/>
                        <Range Begin="08:00" End="15:59" Options="5%"/>
                        <Range Begin="16:00" End="23:59" Options="90%"/>
                                        </Distribution>
                </TimeOfDay>
      </Dimensions>
    </DiversityControl>
ClosedTime of Day Distribution Range End
<DiversityControl>
      <LowFareBucket Options="2"/>
      <Dimensions PriceWeight="1">
        <TimeOfDay Weight="10">
                    <Distribution Leg=”1” Endpoint="Departure">
                        <Range Begin="00:00" End="07:59" Options="5%"/>
                        <Range Begin="08:00" End="15:59" Options="5%"/>
                        <Range Begin="16:00" End="23:59" Options="90%"/>
                                        </Distribution>
                </TimeOfDay>
      </Dimensions>
    </DiversityControl>
ClosedTime of Day Distribution Range Options
<Dimensions PriceWeight="1">
        <TimeOfDay Weight="10">
                    <Distribution Leg=”1” Endpoint="Departure">
                        <Range Begin="00:00" End="07:59" Options="5%"/>
                        <Range Begin="08:00" End="15:59" Options="5%"/>
                        <Range Begin="16:00" End="23:59" Options="90%"/>
                                        </Distribution>
                </TimeOfDay>
      </Dimensions>
    </DiversityControl>