13#if !defined(VITA_COMP_PENALTY_H)
14#define VITA_COMP_PENALTY_H
33 const auto id0(i->fetch_index(0));
34 const auto id1(i->fetch_index(1));
35 const auto id2(i->fetch_index(2));
36 const auto id3(i->fetch_index(3));
38 return (id0 == id1) + (id2 == id3);
Minimum interface of an interpreter.
A specialization of the core_interpreter class.
The main namespace for the project.
double comparison_function_penalty(core_interpreter *ci)
A simple, convenient function for the penalty score of the typical four-terms comparison.