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

Method updateDirection

src/engine/SignConstraint.cpp:642–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642void SignConstraint::updateDirection()
643{
644 _direction =
645 ( FloatUtils::isNegative( computePolarity() ) ) ? SIGN_PHASE_NEGATIVE : SIGN_PHASE_POSITIVE;
646}
647
648PhaseStatus SignConstraint::getDirection() const
649{

Callers 4

updateDirectionsMethod · 0.45
test_polarityMethod · 0.45
test_polarityMethod · 0.45
test_polarityMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_polarityMethod · 0.36
test_polarityMethod · 0.36
test_polarityMethod · 0.36