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

Method StrL

library/cpp/expression/expression_variable.cpp:171–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 return StringValue <= secondOperand.StringValue ? 1.0 : 0.0;
170}
171double TExpressionVariable::StrL(const TExpressionVariable& secondOperand) const {
172 return StringValue < secondOperand.StringValue ? 1.0 : 0.0;
173}
174double TExpressionVariable::StrGe(const TExpressionVariable& secondOperand) const {
175 return StringValue >= secondOperand.StringValue ? 1.0 : 0.0;
176}

Callers 2

CalcVariantExpressionMethod · 0.80
Y_UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected