NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::graph::Score Struct Reference

Score of a single graph run against a task. More...

#include <evolution.h>

Public Attributes

bool compiled = false
 Compiler gate metrics.
 
bool correct = false
 Whether this graph is functionally correct (output matches expected).
 
double cost = -1.0
 0.0 = perfect, higher = worse.
 
std::string summary
 Human-readable summary.
 

Detailed Description

Score of a single graph run against a task.

Definition at line 113 of file evolution.h.

Member Data Documentation

◆ cost

double neograph::graph::Score::cost = -1.0

0.0 = perfect, higher = worse.

Correct output has cost in [0, 1]; output mismatches have cost >= 2. Negative means invalid/unrunnable and is always ranked behind non-negative scores by evolve().

Definition at line 117 of file evolution.h.


The documentation for this struct was generated from the following file: