org.opentripplanner.profile.ProfileStateStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.profile;
import java.util.Collection;
import org.opentripplanner.routing.vertextype.TransitStop;
/** Stores profile states for a search */
public interface ProfileStateStore {
/**
* store a profile state, if it is not dominated.
* @return true if state was nondominated
*/
public boolean put(ProfileState ps);
/** get the nondominated states at a particular vertex */
public Collection get(TransitStop tstop);
/** get all nondominated states */
public Collection getAll();
/** the number of profile states stored */
public int size();
/** the transit stops represented */
public Collection keys ();
public boolean containsKey(TransitStop transitStop);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy