MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / BoundExplainer

Method BoundExplainer

src/proofs/BoundExplainer.cpp:19–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17using namespace CVC4::context;
18
19BoundExplainer::BoundExplainer( unsigned numberOfVariables, unsigned numberOfRows, Context &ctx )
20 : _context( ctx )
21 , _numberOfVariables( numberOfVariables )
22 , _numberOfRows( numberOfRows )
23 , _upperBoundExplanations( 0 )
24 , _lowerBoundExplanations( 0 )
25 , _trivialUpperBoundExplanation( 0 )
26 , _trivialLowerBoundExplanation( 0 )
27{
28 for ( unsigned i = 0; i < _numberOfVariables; ++i )
29 {
30 _upperBoundExplanations.append( new ( true ) CDO<SparseUnsortedList>( &ctx ) );
31 _lowerBoundExplanations.append( new ( true ) CDO<SparseUnsortedList>( &ctx ) );
32
33 _trivialUpperBoundExplanation.append( new ( true ) CDO<bool>( &ctx, true ) );
34 _trivialLowerBoundExplanation.append( new ( true ) CDO<bool>( &ctx, true ) );
35 }
36}
37
38BoundExplainer::~BoundExplainer()
39{

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected