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

Method pickSplitPLConstraintSnC

src/engine/Engine.cpp:2859–2873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2857}
2858
2859PiecewiseLinearConstraint *Engine::pickSplitPLConstraintSnC( SnCDivideStrategy strategy )
2860{
2861 PiecewiseLinearConstraint *candidatePLConstraint = NULL;
2862 if ( strategy == SnCDivideStrategy::Polarity )
2863 candidatePLConstraint = pickSplitPLConstraintBasedOnPolarity();
2864 else if ( strategy == SnCDivideStrategy::EarliestReLU )
2865 candidatePLConstraint = pickSplitPLConstraintBasedOnTopology();
2866
2867 ENGINE_LOG( Stringf( "Done updating scores..." ).ascii() );
2868 ENGINE_LOG(
2869 Stringf( ( candidatePLConstraint ? "Picked..."
2870 : "Unable to pick using the current strategy..." ) )
2871 .ascii() );
2872 return candidatePLConstraint;
2873}
2874
2875bool Engine::restoreSmtState( SmtState &smtState )
2876{

Callers 1

Calls 2

StringfClass · 0.85
asciiMethod · 0.80

Tested by

no test coverage detected