Index
All Classes and Interfaces|All Packages
A
- AbstractCollectionEntityMergeStrategy<KEY> - Class in org.onebusaway.gtfs_merge.strategies
-
Abstract base class that defines common methods and properties for merging collection-like GTFS entities.
- AbstractCollectionEntityMergeStrategy(String) - Constructor for class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
- AbstractEntityMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Abstract base class that defines methods and properties common to all entity merge strategies, regardless of entity type.
- AbstractEntityMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
- AbstractIdentifiableSingleEntityMergeStrategy<T> - Class in org.onebusaway.gtfs_merge.strategies
-
Abstract base class that defines common methods and properties for merging single GTFS entities with explicit identifiers in a GTFS feed.
- AbstractIdentifiableSingleEntityMergeStrategy(Class<T>) - Constructor for class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
- AbstractIdentifiableSingleEntityMergeStrategy.ScoringTask<T> - Class in org.onebusaway.gtfs_merge.strategies
- AbstractNonIdentifiableSingleEntityMergeStrategy<T> - Class in org.onebusaway.gtfs_merge.strategies
-
Non-identifiable entities include types like,
invalid reference
TransferFareRuleandFrequencyentities. - AbstractNonIdentifiableSingleEntityMergeStrategy(Class<T>) - Constructor for class org.onebusaway.gtfs_merge.strategies.AbstractNonIdentifiableSingleEntityMergeStrategy
- AbstractSingleEntityMergeStrategy<T> - Class in org.onebusaway.gtfs_merge.strategies
-
Abstract base class that defines common methods and properties for merging single GTFS entities.
- AbstractSingleEntityMergeStrategy(Class<T>) - Constructor for class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
- addPropertyMatch(String) - Method in class org.onebusaway.gtfs_merge.strategies.scoring.AndDuplicateScoringStrategy
- addStrategy(DuplicateScoringStrategy<T>) - Method in class org.onebusaway.gtfs_merge.strategies.scoring.AndDuplicateScoringStrategy
- AGENCY - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateRenamingStrategy
-
Make assumptions about the owning agency
- AgencyMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
Agencyentities. - AgencyMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.AgencyMergeStrategy
- AndDuplicateScoringStrategy<T> - Class in org.onebusaway.gtfs_merge.strategies.scoring
- AndDuplicateScoringStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.scoring.AndDuplicateScoringStrategy
- AreaMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
- AreaMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.AreaMergeStrategy
B
- bulkReplaceValueInProperties(Iterable<T>, Object, Object, String...) - Static method in class org.onebusaway.gtfs_merge.strategies.MergeSupport
C
- CacheByEntity<S,
T> - Class in org.onebusaway.gtfs_merge.util - CacheByEntity(CacheByEntity.CacheGetter<S, T>) - Constructor for class org.onebusaway.gtfs_merge.util.CacheByEntity
- CacheByEntity.CacheGetter<S,
T> - Interface in org.onebusaway.gtfs_merge.util - clearCaches(GtfsRelationalDao) - Static method in class org.onebusaway.gtfs_merge.strategies.MergeSupport
- CONTEXT - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateRenamingStrategy
-
DEFAULT, use context prefix
D
- determineDuplicateDetectionStrategy(GtfsMergeContext) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
Determines the best
EDuplicateDetectionStrategyto use for the current entity type and source feed. - duplicateScoringStrategy - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy.ScoringTask
- DuplicateScoringStrategy<T> - Interface in org.onebusaway.gtfs_merge.strategies.scoring
- DuplicateScoringSupport - Class in org.onebusaway.gtfs_merge.strategies.scoring
- DuplicateScoringSupport() - Constructor for class org.onebusaway.gtfs_merge.strategies.scoring.DuplicateScoringSupport
E
- EDuplicateDetectionStrategy - Enum Class in org.onebusaway.gtfs_merge.strategies
-
Defines different strategies for detecting duplicate entities for a particular GTFS entity type across feeds.
- EDuplicateRenamingStrategy - Enum Class in org.onebusaway.gtfs_merge.strategies
- ELogDuplicatesStrategy - Enum Class in org.onebusaway.gtfs_merge.strategies
-
Defines different logging behaviors to take when a duplicate entity is detected between two GTFS feeds.
- entitiesAreIdentical(FareRule, FareRule) - Method in class org.onebusaway.gtfs_merge.strategies.FareRuleMergeStrategy
- entitiesAreIdentical(Frequency, Frequency) - Method in class org.onebusaway.gtfs_merge.strategies.FrequencyMergeStrategy
- entitiesAreIdentical(Transfer, Transfer) - Method in class org.onebusaway.gtfs_merge.strategies.TransferMergeStrategy
- entitiesAreIdentical(T, T) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractNonIdentifiableSingleEntityMergeStrategy
-
Determines if two entities are identical, such that adding both to a feed would have the same effect.
- EntityMergeStrategy - Interface in org.onebusaway.gtfs_merge.strategies
-
Defines an interface for performing a merge operation on entities of particular type from a source GTFS feed into a merged GTFS feed.
- ERROR - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.ELogDuplicatesStrategy
-
An exception is thrown if a duplicate is detected, halting the merge operation.
F
- FareAttributeMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
FareAttributeentities. - FareAttributeMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.FareAttributeMergeStrategy
- FareRuleMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
FareRuleentities. - FareRuleMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.FareRuleMergeStrategy
- FeedInfoMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Perform custom merge of FeedInfo to indicate the special configuration of a merged GTFS set.
- FeedInfoMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.FeedInfoMergeStrategy
- FrequencyMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
Frequencyentities. - FrequencyMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.FrequencyMergeStrategy
- FUZZY - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateDetectionStrategy
-
Entities that have similar properties are considered duplicates.
G
- getDescription() - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
- getDescription() - Method in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
- getDescription() - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
- getDuplicateRenamingStrategy() - Method in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
- getEntityForRawId(String) - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
-
Find an entity registered with
GtfsMergeContext.putEntityWithRawId(String, Object)for the current entity type across feeds merged so far, including the current feed. - getEntityMergeStrategyForEntityType(Class<?>) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- getEntityTypes(Collection<Class<?>>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
- getEntityTypes(Collection<Class<?>>) - Method in interface org.onebusaway.gtfs_merge.strategies.EntityMergeStrategy
-
Determine the list of entity types handled by this merge strategy.
- getEntityTypes(Collection<Class<?>>) - Method in class org.onebusaway.gtfs_merge.strategies.ServiceCalendarMergeStrategy
- getEntityTypes(Collection<Class<?>>) - Method in class org.onebusaway.gtfs_merge.strategies.ShapePointMergeStrategy
- getEntityTypes(Collection<Class<?>>) - Method in class org.onebusaway.gtfs_merge.strategies.TripMergeStrategy
-
Recall that we handle
StopTimeentities in addition toTripentities. - getFuzzyDuplicate(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
- getFuzzyDuplicate(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
-
Use
EDuplicateDetectionStrategy.FUZZYbased duplication-detection to find a duplicate in the output merged feed for the specified entity. - getIdentityDuplicate(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
- getIdentityDuplicate(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractNonIdentifiableSingleEntityMergeStrategy
-
Non-identifiable entities obviously don't have identifiers.
- getIdentityDuplicate(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
-
Use
EDuplicateDetectionStrategy.IDENTITYbased duplication-detection to find a duplicate in the output merged feed for the specified entity. - getItemForEntity(GtfsRelationalDao, S) - Method in interface org.onebusaway.gtfs_merge.util.CacheByEntity.CacheGetter
- getItemForEntity(GtfsRelationalDao, S) - Method in class org.onebusaway.gtfs_merge.util.CacheByEntity
- getKeys(GtfsRelationalDao) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
-
An entity-specific method to determine the set of unique identifiers used by collection entities in the specified GTFS feed.
- getKeys(GtfsRelationalDao) - Method in class org.onebusaway.gtfs_merge.strategies.ServiceCalendarMergeStrategy
- getKeys(GtfsRelationalDao) - Method in class org.onebusaway.gtfs_merge.strategies.ShapePointMergeStrategy
- getNextSequenceCounter() - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
- getPrefix() - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
- getRawKey(KEY) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
-
Converts the entity collection identifier into a raw GTFS identifier string.
- getResolvedDuplicateDetectionStrategy() - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
- getResult() - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy.ScoringTask
- getSource() - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
- getTarget() - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
- GtfsMergeContext - Class in org.onebusaway.gtfs_merge
-
Manages state for the current merge operation, which is specific to particular feed and GTFS entity type.
- GtfsMergeContext(GtfsRelationalDao, GtfsMutableRelationalDao, String, Map<String, Object>) - Constructor for class org.onebusaway.gtfs_merge.GtfsMergeContext
- GtfsMerger - Class in org.onebusaway.gtfs_merge
- GtfsMerger(boolean) - Constructor for class org.onebusaway.gtfs_merge.GtfsMerger
I
- IDENTITY - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateDetectionStrategy
-
Entities that have the same ID are considered duplicates.
- isEntityJustAddedWithRawId(String) - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
-
It can be useful to know if an entity returned by
GtfsMergeContext.getEntityForRawId(String)was added from the current source feed or from some previous feed.
M
- merge(GtfsMergeContext) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
- merge(GtfsMergeContext) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
- merge(GtfsMergeContext) - Method in interface org.onebusaway.gtfs_merge.strategies.EntityMergeStrategy
-
Perform a merge operation for the entities specified in the
GtfsMergeContext. - mergeEntity(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
-
Protected Methods
- MergeSupport - Class in org.onebusaway.gtfs_merge.strategies
- MergeSupport() - Constructor for class org.onebusaway.gtfs_merge.strategies.MergeSupport
N
- NONE - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateDetectionStrategy
-
Entities will never be considered duplicates, even if they have the same id.
- NONE - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.ELogDuplicatesStrategy
-
Nothing is logged when a duplicate is detected.
- noNull(String) - Static method in class org.onebusaway.gtfs_merge.strategies.MergeSupport
O
- org.onebusaway.gtfs_merge - package org.onebusaway.gtfs_merge
- org.onebusaway.gtfs_merge.strategies - package org.onebusaway.gtfs_merge.strategies
- org.onebusaway.gtfs_merge.strategies.scoring - package org.onebusaway.gtfs_merge.strategies.scoring
- org.onebusaway.gtfs_merge.util - package org.onebusaway.gtfs_merge.util
P
- pickBestDuplicateDetectionStrategy(GtfsMergeContext) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
- pickBestDuplicateDetectionStrategy(GtfsMergeContext) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
Determines the best
EDuplicateDetectionStrategyto use for merging entities from the current source feed into the merged output feed. - pickBestDuplicateDetectionStrategy(GtfsMergeContext) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
- pickBestDuplicateDetectionStrategy(GtfsMergeContext) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractNonIdentifiableSingleEntityMergeStrategy
- putEntityWithRawId(String, Object) - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
-
Indicate that an entity with the specified raw GTFS id as been added to the merged output GTFS feed.
R
- rejectDuplicateOverDifferences(GtfsMergeContext, Trip, Trip) - Method in class org.onebusaway.gtfs_merge.strategies.TripMergeStrategy
-
Even if we have detected that two trips are duplicates, they might have slight differences that prevent them from being represented as one merged trip.
- rejectDuplicateOverDifferences(GtfsMergeContext, T, T) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
-
For some entity types, we may detect that two entities are duplicates in the source feed and the target merged feed, but the entities might have slight differences that prevent them from being represented as one merged entity in the output feed.
- rename(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
-
Rename the id of the specified identity to avoid an raw GTFS identifier collision in the merged output feed.
- rename(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractNonIdentifiableSingleEntityMergeStrategy
-
Non-identifiable entities should never have raw GTFS identifier overlap, so this method should never be called.
- rename(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AgencyMergeStrategy
- renameAgencyAndId(String, AgencyAndId) - Static method in class org.onebusaway.gtfs_merge.strategies.MergeSupport
- renameAgencyAndId(GtfsMergeContext, AgencyAndId) - Static method in class org.onebusaway.gtfs_merge.strategies.MergeSupport
- renameKey(GtfsMergeContext, KEY, KEY) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
-
If we detect that an entity collection in the source input feed duplicates an entity collection in the merged output feed, we rename all references to the old id in the source feed to use the id of the entity in the merged feed.
- renameKey(GtfsMergeContext, AgencyAndId, AgencyAndId) - Method in class org.onebusaway.gtfs_merge.strategies.ServiceCalendarMergeStrategy
-
Replaces all references to the specified old service_id with the new service_id for all
ServiceCalendar,ServiceCalendarDate, andTripentities in the source feed. - renameKey(GtfsMergeContext, AgencyAndId, AgencyAndId) - Method in class org.onebusaway.gtfs_merge.strategies.ShapePointMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, Agency, Agency) - Method in class org.onebusaway.gtfs_merge.strategies.AgencyMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, Area, Area) - Method in class org.onebusaway.gtfs_merge.strategies.AreaMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, FareAttribute, FareAttribute) - Method in class org.onebusaway.gtfs_merge.strategies.FareAttributeMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, FeedInfo, FeedInfo) - Method in class org.onebusaway.gtfs_merge.strategies.FeedInfoMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, Route, Route) - Method in class org.onebusaway.gtfs_merge.strategies.RouteMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, Stop, Stop) - Method in class org.onebusaway.gtfs_merge.strategies.StopMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, Trip, Trip) - Method in class org.onebusaway.gtfs_merge.strategies.TripMergeStrategy
- replaceDuplicateEntry(GtfsMergeContext, T, T) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractNonIdentifiableSingleEntityMergeStrategy
-
Non-identifiable entities can't be referenced by other GTFS entities, so there shouldn't be any work to do here.
- replaceDuplicateEntry(GtfsMergeContext, T, T) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
-
If we've detected a duplicate for an entity in the source feed with some entity in the merged output feed, we want to replace all references to the old entity with the new merged entity.
- RouteMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
Routeentities. - RouteMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.RouteMergeStrategy
- RouteStopsInCommonDuplicateScoringStrategy - Class in org.onebusaway.gtfs_merge.strategies.scoring
- RouteStopsInCommonDuplicateScoringStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.scoring.RouteStopsInCommonDuplicateScoringStrategy
- run() - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy.ScoringTask
- run(List<File>, File) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
S
- save(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
-
Saves the specified entity to the merged output feed.
- save(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
-
Saves the specified entity to the merged output feed.
- save(GtfsMergeContext, IdentityBean<?>) - Method in class org.onebusaway.gtfs_merge.strategies.TripMergeStrategy
- saveElementsForKey(GtfsMergeContext, KEY) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
-
Writes the specified entity collection to the merged output feed.
- saveElementsForKey(GtfsMergeContext, AgencyAndId) - Method in class org.onebusaway.gtfs_merge.strategies.ServiceCalendarMergeStrategy
-
Writes all
ServiceCalendarandServiceCalendarDateentities with the specifiedservice_idto the merged output feed. - saveElementsForKey(GtfsMergeContext, AgencyAndId) - Method in class org.onebusaway.gtfs_merge.strategies.ShapePointMergeStrategy
- score(GtfsMergeContext, Route, Route) - Method in class org.onebusaway.gtfs_merge.strategies.scoring.RouteStopsInCommonDuplicateScoringStrategy
- score(GtfsMergeContext, Stop, Stop) - Method in class org.onebusaway.gtfs_merge.strategies.scoring.StopDistanceDuplicateScoringStrategy
- score(GtfsMergeContext, Trip, Trip) - Method in class org.onebusaway.gtfs_merge.strategies.scoring.TripScheduleOverlapDuplicateScoringStrategy
- score(GtfsMergeContext, Trip, Trip) - Method in class org.onebusaway.gtfs_merge.strategies.scoring.TripStopsInCommonDuplicateScoringStrategy
- score(GtfsMergeContext, T, T) - Method in class org.onebusaway.gtfs_merge.strategies.scoring.AndDuplicateScoringStrategy
- score(GtfsMergeContext, T, T) - Method in interface org.onebusaway.gtfs_merge.strategies.scoring.DuplicateScoringStrategy
- scoreDuplicateKey(GtfsMergeContext, KEY) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractCollectionEntityMergeStrategy
-
Given an id identifying an entity collection in both the source input feed and the merged output feed, produce a score between 0.0 and 1.0 identifying how likely it is that the two entity collections are one and the same, where 0.0 means they having nothing in common and 1.0 meaning they are exactly the same.
- scoreDuplicateKey(GtfsMergeContext, AgencyAndId) - Method in class org.onebusaway.gtfs_merge.strategies.ServiceCalendarMergeStrategy
-
We consider two service calendars to be duplicates if they share a lot of dates in common.
- scoreDuplicateKey(GtfsMergeContext, AgencyAndId) - Method in class org.onebusaway.gtfs_merge.strategies.ShapePointMergeStrategy
- scoreElementOverlap(Collection<T>, Collection<T>) - Static method in class org.onebusaway.gtfs_merge.strategies.scoring.DuplicateScoringSupport
-
Computes a numeric score that captures how much overlap there is between the elements in two collections, given their set of overlapping elements.
- scoreElementOverlap(Collection<T>, Collection<T>, Set<T>) - Static method in class org.onebusaway.gtfs_merge.strategies.scoring.DuplicateScoringSupport
-
Same as
DuplicateScoringSupport.scoreElementOverlap(Collection, Collection)with the exception that overlapping elements between the two collections are automatically added to the 'common' set. - scoreElementOverlap(SortedSet<T>, SortedSet<T>) - Static method in class org.onebusaway.gtfs_merge.strategies.scoring.DuplicateScoringSupport
-
A faster implementation of
DuplicateScoringSupport.scoreElementOverlap(Collection, Collection), when the Collections are SortedSets. - scoreIntervalOverlap(int[], int[]) - Static method in class org.onebusaway.gtfs_merge.strategies.scoring.DuplicateScoringSupport
- ScoringTask(GtfsMergeContext, AndDuplicateScoringStrategy<T>, Collection<T>, Collection<T>, int, int, double, AbstractIdentifiableSingleEntityMergeStrategy.Result) - Constructor for class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy.ScoringTask
- ServiceCalendarMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
ServiceCalendarandServiceCalendarDateentities. - ServiceCalendarMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.ServiceCalendarMergeStrategy
- setAgencyStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setAreaStrategy(AreaMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setDuplicateDetectionStrategy(EDuplicateDetectionStrategy) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
Set a duplicate detection strategy.
- setDuplicateRenamingStrategy(EDuplicateRenamingStrategy) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
- setFareAttributeStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setFareRuleStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setFeedInfoStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setFrequencyStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setLogDuplicatesStrategy(ELogDuplicatesStrategy) - Method in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
- setResolvedDuplicateDetectionStrategy(EDuplicateDetectionStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMergeContext
-
Set the duplicate detection strategy that has been chosen for this entity type.
- setRouteStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setServiceCalendarStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setShapePointStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setStopStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setTransferStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- setTripStrategy(EntityMergeStrategy) - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- ShapePointMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
ShapePointentities. - ShapePointMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.ShapePointMergeStrategy
- StopDistanceDuplicateScoringStrategy - Class in org.onebusaway.gtfs_merge.strategies.scoring
- StopDistanceDuplicateScoringStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.scoring.StopDistanceDuplicateScoringStrategy
- StopMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
Stopentities. - StopMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.StopMergeStrategy
T
- toString() - Method in class org.onebusaway.gtfs_merge.GtfsMerger
- toString() - Method in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
- toString() - Method in class org.onebusaway.gtfs_merge.strategies.FareRuleMergeStrategy
- toString() - Method in class org.onebusaway.gtfs_merge.strategies.scoring.AndDuplicateScoringStrategy
- toString() - Method in class org.onebusaway.gtfs_merge.strategies.scoring.StopDistanceDuplicateScoringStrategy
- TransferMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
Transferentities. - TransferMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.TransferMergeStrategy
- TripMergeStrategy - Class in org.onebusaway.gtfs_merge.strategies
-
Entity merge strategy for handling
Tripentities. - TripMergeStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.TripMergeStrategy
- TripScheduleOverlapDuplicateScoringStrategy - Class in org.onebusaway.gtfs_merge.strategies.scoring
- TripScheduleOverlapDuplicateScoringStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.scoring.TripScheduleOverlapDuplicateScoringStrategy
- TripStopsInCommonDuplicateScoringStrategy - Class in org.onebusaway.gtfs_merge.strategies.scoring
- TripStopsInCommonDuplicateScoringStrategy() - Constructor for class org.onebusaway.gtfs_merge.strategies.scoring.TripStopsInCommonDuplicateScoringStrategy
V
- valueOf(String) - Static method in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateDetectionStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateRenamingStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.onebusaway.gtfs_merge.strategies.ELogDuplicatesStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateDetectionStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.onebusaway.gtfs_merge.strategies.EDuplicateRenamingStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.onebusaway.gtfs_merge.strategies.ELogDuplicatesStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARNING - Enum constant in enum class org.onebusaway.gtfs_merge.strategies.ELogDuplicatesStrategy
-
A warning is logged to the console if a duplicate is detected.
_
- _duplicateDetectionStrategy - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
By default, we don't specify a default duplicate detection strategy, but instead attempt auto-detection of the best strategy.
- _duplicateScoringStrategy - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractIdentifiableSingleEntityMergeStrategy
-
When comparing entities between two feeds to see if they are duplicates, we use the specified scoring strategy to score the amount of duplication between the two entities.
- _entityType - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractSingleEntityMergeStrategy
- _logDuplicatesStrategy - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
What should happen when we detect a duplicate entity?
- _minElementDuplicateScoreForFuzzyMatch - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
This threshold is similar to
AbstractEntityMergeStrategy._minElementsDuplicateScoreForAutoDetectexcept that is used only for auto-detecting fuzzy matches and only for producing a candidate set of fuzzy matches to score to determine if auto-detection should be used. - _minElementsDuplicateScoreForAutoDetect - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
When auto-detecting the best duplicate detection strategy to use, the different
EDuplicateDetectionStrategywill produce a set of candidate duplicates, for which we score their overlap on a scale from 0.0 to 1.0, where 0.0 indicates that none of the entities seem to match and 1.0 indicates that they are exact duplicates. - _minElementsInCommonScoreForAutoDetect - Variable in class org.onebusaway.gtfs_merge.strategies.AbstractEntityMergeStrategy
-
When auto-detecting the best duplicate detection strategy to use, defines the scoring threshold to use when considering if two entity id sets have enough ids in common to consider using identifier-based duplicate detection.
All Classes and Interfaces|All Packages