Package ie.transportdublin.server.plugin.json

Examples of ie.transportdublin.server.plugin.json.DirectionsList


            @QueryParam( "lon2" ) double lon2, @QueryParam( "time" ) double time )
    {
        if ( lat1 == 0 || lat1 == 0 || lon1 == 0 || lon2 == 0 || time==0 )
            return Response.serverError().entity( "params cannot be blank" ).build();
        tx = database.graph.beginTx();
        DirectionsList  directionsList =null;
        try
        {
            WeightedPath path = threeLayeredTraverserShortestPath.findShortestPath( lat1, lon1, lat2, lon2, time );
            if ( path != null )
            {
View Full Code Here


    private Index<Node> stopLayer;

    public DirectionsGenerator( WeightedPath path )
    {
        stopLayer = path.endNode().getGraphDatabase().index().forNodes( "stopLayer" );
        directionsList = new DirectionsList();
        routes = new ArrayList<DirectionsRoute>();
        walks = new ArrayList<DirectionsWalk>();
    }
View Full Code Here

TOP

Related Classes of ie.transportdublin.server.plugin.json.DirectionsList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.