20 #include <utility/pointer/ReferenceCount.hh>
34 namespace constraints {
40 return (1/(1+exp(-z)) - 0.5);
57 out <<
"SIGMOID " <<
x0_ <<
" " <<
slope_ << std::endl;
63 if (verbose_level > 100 ) {
64 out <<
"HARM " << ( x -
x0_ )/
slope_ << std::endl;
65 }
else if (verbose_level > 70 ) {
66 if ( x <
x0_ && ( this->
func(x) > threshold ) ) out <<
"-";
67 else if ( x >
x0_ && ( this->
func(x) > threshold )) out <<
"+";