All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.targomo.client.api.quality.criterion.EdgeStatisticsReachabilityCriterionDefinition Maven / Gradle / Ivy

The newest version!
package com.targomo.client.api.quality.criterion;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.targomo.client.api.enums.EdgeStatisticAggregationType;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import lombok.extern.jackson.Jacksonized;

import java.util.List;

@Getter
@EqualsAndHashCode(callSuper = true)
@Jacksonized
@SuperBuilder(toBuilder = true)
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class EdgeStatisticsReachabilityCriterionDefinition extends RoutingBasedCriterionDefinition {

    @Setter
    private String edgeStatisticsServiceUrl;

    private final Integer edgeStatisticCollectionId;

    private final EdgeStatisticAggregationType aggregationType;

    // Use either edgeStatisticIds or edgeStatisticId
    private final List edgeStatisticIds;
    private final Integer edgeStatisticId;

    // If true, reachability will be calculated even when using fly mode and only reachable edges considered.
    // Ignored when an other travel mode than fly is used
    private final boolean calculateReachabilityInFlyMode;

    // These edges will not be routed.
    // This is different from the other excludeEdgeClasses parameter, which will route the edges but exclude the statistics on them.
    private final List excludeEdgeClassesFromRouting;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy