MCPcopy Create free account
hub / github.com/catboost/catboost / G

Method G

library/cpp/expression/expression_variable.cpp:162–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 return ToDouble() >= secondOperand.ToDouble() - EPS ? 1.0 : 0.0;
161}
162double TExpressionVariable::G(const TExpressionVariable& secondOperand) const {
163 return ToDouble() > secondOperand.ToDouble() + EPS ? 1.0 : 0.0;
164}
165double TExpressionVariable::StrStartsWith(const TExpressionVariable& secondOperand) const {
166 return StringValue.StartsWith(secondOperand.StringValue) ? 1.0 : 0.0;
167}

Callers 2

CalcVariantExpressionMethod · 0.80
Y_UNIT_TESTFunction · 0.80

Calls 1

ToDoubleMethod · 0.45

Tested by

no test coverage detected