Struct ai_kit::pedigree::InferenceGraph
[−]
[src]
pub struct InferenceGraph { /* fields omitted */ }
Provide a convenient interface to a particular inference graph.
Methods
impl<'a> InferenceGraph
[src]
fn new(root: String) -> Self
fn back_iter(&self) -> InferenceGraphBackwardIterator
fn root(&self) -> &String
fn leaves(&'a self) -> &'a BTreeSet<String>
fn ancestor(&self, id: &String) -> Option<&Origin>
fn descendent_inferences(&'a self, id: &String) -> Option<&'a BTreeSet<String>>
fn subsequent_inferences(
&'a self,
generation: usize
) -> Vec<&'a BTreeSet<String>>
&'a self,
generation: usize
) -> Vec<&'a BTreeSet<String>>
fn all_ids(&'a self) -> BTreeSet<&'a String>
Trait Implementations
impl Clone for InferenceGraph
[src]
fn clone(&self) -> InferenceGraph
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for InferenceGraph
[src]
impl Eq for InferenceGraph
[src]
impl PartialEq for InferenceGraph
[src]
fn eq(&self, __arg_0: &InferenceGraph) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InferenceGraph) -> bool
This method tests for !=
.