ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
GenericCircuit.cpp File Reference

GenericCircuit method implementations. More...

#include "GenericCircuit.h"
Include dependency graph for GenericCircuit.cpp:

Go to the source code of this file.

Detailed Description

GenericCircuit method implementations.

Implements the virtual methods of GenericCircuit that override the Circuit<gate_type> base class:

  • addGate(): allocates a new gate and extends the prob vector.
  • setGate(gate_type): creates a new gate, registering it as an input gate when the type is gate_input or gate_update.
  • setGate(const uuid&, gate_type): same with UUID binding.

The template method evaluate() is defined in GenericCircuit.hpp.

Definition in file GenericCircuit.cpp.