Skip to content

add Neo4j heuristics calculator#1647

Open
andyfelder16 wants to merge 3 commits into
masterfrom
neo4j-heuristics-core
Open

add Neo4j heuristics calculator#1647
andyfelder16 wants to merge 3 commits into
masterfrom
neo4j-heuristics-core

Conversation

@andyfelder16

@andyfelder16 andyfelder16 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

First of a few PRs splitting #1641, per review feedback.

  • Computes H(Q,G): how close a graph is to satisfying a parsed Cypher MATCH query, as a Truthness <ofTrue, ofFalse>
  • Neo4jHeuristicsCalculator, Neo4jStructuralMatcher (matched_elements), Neo4jConditionEvaluator (condition + operand evaluation), Neo4jMapping
  • Neo4jNode/Neo4jEdge/Neo4jGraph: in-memory graph model
  • Works in Truthness end-to-end, mirroring the SQL heuristics calculator
  • 11 tests

@andyfelder16
andyfelder16 requested a review from jgaleotti July 21, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants