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

org.opentripplanner.profile.ProfileStateStore Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
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