Sha256: e82ea14edf6e578a9da94f216709cca0beb83414f649a13b4872f9dc005373ee

Contents?: true

Size: 166 Bytes

Versions: 6

Compression:

Stored size: 166 Bytes

Contents

module Neo4jr
  class SimpleEvaluator
    include org.neo4j.graphalgo.shortestpath.CostEvaluator

    def getCost(relationship, backwards)
      1.0
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
neo4jr-simple-0.2.2 lib/neo4jr/simple_cost_evaluator.rb
neo4jr-simple-0.2.1 lib/neo4jr/simple_cost_evaluator.rb
neo4jr-simple-0.2.0 lib/neo4jr/simple_cost_evaluator.rb
neo4jr-simple-0.1.8 lib/neo4jr/simple_cost_evaluator.rb
neo4jr-simple-0.1.7 lib/neo4jr/simple_cost_evaluator.rb
neo4jr-social-0.1.1 lib/neo4jr-social/simple_cost_evaluator.rb