Goal: choose the atom with the least number of unbound arguments.  
 More...
#include <SipsMetric.h>
|  | 
| std::vector< double > | evaluateCosts (const std::vector< Atom * > atoms, const BindingStore &bindingStore) const override | 
|  | Evaluates the cost of choosing each atom next in the current schedule.  More... 
 | 
|  | 
Goal: choose the atom with the least number of unbound arguments. 
Definition at line 114 of file SipsMetric.h.
◆ LeastFreeSips()
  
  | 
        
          | souffle::ast::LeastFreeSips::LeastFreeSips | ( |  | ) |  |  | default | 
 
 
◆ evaluateCosts()
  
  | 
        
          | std::vector< double > souffle::ast::LeastFreeSips::evaluateCosts | ( | const std::vector< Atom * > | atoms, |  
          |  |  | const BindingStore & | bindingStore |  
          |  | ) |  | const |  | overrideprotectedvirtual | 
 
Evaluates the cost of choosing each atom next in the current schedule. 
- Parameters
- 
  
    | atoms | atoms to choose from; may be nullptr |  | bindingStore | the variables already bound to a value |  
 
Implements souffle::ast::SipsMetric.
Definition at line 205 of file SipsMetric.cpp.
  217     std::vector<double> cost;
 
  218     for (
const auto* atom : atoms) {
 
 
 
 
The documentation for this class was generated from the following files: