pub struct AgentFitness {
pub agent_id: AgentId,
pub concepts_added: u64,
pub edges_contributed: u64,
pub ticks_alive: u64,
pub fitness: f64,
pub generation: u32,
pub novel_concepts: u64,
pub bridge_edges: u64,
pub strong_edges: u64,
}Expand description
Per-agent fitness data.
Fields§
§agent_id: AgentId§concepts_added: u64Total concepts added to the knowledge graph.
edges_contributed: u64Total edges created or strengthened.
ticks_alive: u64Total ticks alive.
fitness: f64Fitness score = weighted multi-objective combination.
generation: u32Generation number (0 = original, 1 = first offspring, etc.)
novel_concepts: u64Novel concepts: concepts that didn’t exist before this agent created them.
bridge_edges: u64Bridge edges: edges that connect previously disconnected node clusters.
strong_edges: u64Strong edges: edges with co_activations >= 2 (reinforced across documents).
Trait Implementations§
Source§impl Clone for AgentFitness
impl Clone for AgentFitness
Source§fn clone(&self) -> AgentFitness
fn clone(&self) -> AgentFitness
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentFitness
impl Debug for AgentFitness
Source§impl Serialize for AgentFitness
impl Serialize for AgentFitness
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AgentFitness
impl RefUnwindSafe for AgentFitness
impl Send for AgentFitness
impl Sync for AgentFitness
impl Unpin for AgentFitness
impl UnwindSafe for AgentFitness
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more