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

Method dump

src/engine/PiecewiseLinearCaseSplit.cpp:42–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void PiecewiseLinearCaseSplit::dump( String &output ) const
43{
44 output = String( "\nDumping piecewise linear case split\n" );
45 output += String( "\tBounds are:\n" );
46 for ( const auto &bound : _bounds )
47 {
48 output += Stringf( "\t\tVariable: %u. New bound: %.2lf. Bound type: %s\n",
49 bound._variable,
50 bound._value,
51 bound._type == Tightening::LB ? "lower" : "upper" );
52 }
53
54 output += String( "\n\tEquations are:\n" );
55 for ( const auto &equation : _equations )
56 {
57 output += String( "\t\t" );
58 equation.dump();
59 }
60}
61
62void PiecewiseLinearCaseSplit::dump() const
63{

Callers

nothing calls this directly

Calls 3

StringfClass · 0.85
asciiMethod · 0.80
StringClass · 0.70

Tested by

no test coverage detected