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

Method eliminateVariable

src/engine/SigmoidConstraint.cpp:175–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void SigmoidConstraint::eliminateVariable( __attribute__( ( unused ) ) unsigned variable,
176 __attribute__( ( unused ) ) double fixedValue )
177{
178 ASSERT( variable == _b || variable == _f );
179
180 // In a Sigmoid constraint, if a variable is removed the entire constraint can be discarded.
181 _haveEliminatedVariables = true;
182}
183
184bool SigmoidConstraint::constraintObsolete() const
185{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected