Package org.neo4j.graphdb

Examples of org.neo4j.graphdb.Expander


        EstimateEvaluator<Double> estimateEval = CommonEvaluators.geoEstimateEvaluator(OsmEntityAttributeKey.NODE_LAT.name(),
                OsmEntityAttributeKey.NODE_LON.name());

        CostEvaluator<Double> costEval = CommonEvaluators.doubleCostEvaluator(OsmEntityAttributeKey.WAY_DISTANCE.name());

        Expander relExpander = Traversal.expanderForTypes(
                OsmRelation.ONE_WAY, Direction.OUTGOING,
                OsmRelation.BIDIRECTIONAL, Direction.BOTH);


        PathFinder<WeightedPath> finder = GraphAlgoFactory.aStar(relExpander, costEval, estimateEval);
View Full Code Here

TOP

Related Classes of org.neo4j.graphdb.Expander

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.