Struct clingo::SymbolicAtom [] [src]

pub struct SymbolicAtom<'a> { /* fields omitted */ }

A symbolic atom in a program.

Methods

impl<'a> SymbolicAtom<'a>
[src]

[src]

Check whether an atom is a fact.

Note: This does not determine if an atom is a cautious consequence. The grounding or solving component's simplifications can only detect this in some cases.

[src]

Check whether an atom is external.

An atom is external if it has been defined using an external directive and has not been released or defined by a rule.

[src]

Get the symbolic representation of an atom.

[src]

Returns the (numeric) aspif literal corresponding to the given symbolic atom.

Such a literal can be mapped to a solver literal (see Propagator). or be used in rules in aspif format (see ProgramBuilder).

Trait Implementations

Auto Trait Implementations

impl<'a> Send for SymbolicAtom<'a>

impl<'a> Sync for SymbolicAtom<'a>