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

Method applyAllValidConstraintCaseSplits

src/engine/Engine.cpp:2165–2179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2163}
2164
2165bool Engine::applyAllValidConstraintCaseSplits()
2166{
2167 struct timespec start = TimeUtils::sampleMicro();
2168
2169 bool appliedSplit = false;
2170 for ( auto &constraint : _plConstraints )
2171 if ( applyValidConstraintCaseSplit( constraint ) )
2172 appliedSplit = true;
2173
2174 struct timespec end = TimeUtils::sampleMicro();
2175 _statistics.incLongAttribute( Statistics::TOTAL_TIME_PERFORMING_VALID_CASE_SPLITS_MICRO,
2176 TimeUtils::timePassed( start, end ) );
2177
2178 return appliedSplit;
2179}
2180
2181bool Engine::applyValidConstraintCaseSplit( PiecewiseLinearConstraint *constraint )
2182{

Callers 1

Calls 1

incLongAttributeMethod · 0.80

Tested by

no test coverage detected