Yes the cost evaluator is just an interface and for A* I think it's looking always on the outgoing relationships, which are incoming for the relationship.getEndNode()
2017-03-15 17:03 GMT+01:00 'Neo4JinMAS' via Neo4j <[email protected]>: > Hallo, > > ich verwende den in Neo4J integrierten A-Stern Algorithmus. Das Problem, > das ich habe ist die 'direction' in der 'getCost(Relationship relationship, > Direction direction)' des Interfaces CostEvaluator. Diese ist in dem > Algorithmus immer als 'OUTGOING' gesetzt. Folglich fehlt hier die > Differenzierung zwischen Outgoing und Ingoing. > > Habe ich die Implementierung des A-Stern falsch verstanden oder ist die > 'direction' immer fest auf 'OUTGOING'? > > Viele Güße > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
