public override string ToString(int doc) { // LUCENENET specific - changed formatting to ensure the same culture is used for each value. return(string.Format("{0}*float({1})+{2}", outerInstance.m_slope, vals.ToString(doc), outerInstance.m_intercept)); }
public override string ToString(int doc) { // LUCENENET specific - changed formatting to ensure the same culture is used for each value. return(string.Format(CultureInfo.InvariantCulture, "{0}/({1}*float({2})+{3})", outerInstance.m_a, outerInstance.m_m, vals.ToString(doc), outerInstance.m_b)); }
public override string ToString(int doc) { // LUCENENET specific - changed formatting to ensure the same culture is used for each value. return(string.Format(CultureInfo.InvariantCulture, "scale({0},toMin={1},toMax={2},fromMin={3})", vals.ToString(doc), outerInstance.m_min, outerInstance.m_max, maxSource)); }
public override string ToString(int doc) { return(outerInstance.Name + '(' + vals.ToString(doc) + ')'); }
public override string ToString(int doc) { return("if(" + ifVals.ToString(doc) + ',' + trueVals.ToString(doc) + ',' + falseVals.ToString(doc) + ')'); }
public override string ToString(int doc) { return("map(" + vals.ToString(doc) + ",min=" + outerInstance.m_min + ",max=" + outerInstance.m_max + ",target=" + targets.ToString(doc) + ")"); }
public override string ToString(int doc) // LUCENENET TODO: API - Add overload to include CultureInfo ? { return(outerInstance.m_slope + "*float(" + vals.ToString(doc) + ")+" + outerInstance.m_intercept); }
public override string ToString(int doc) // LUCENENET TODO: API - Add overload to include CultureInfo ? { return("scale(" + vals.ToString(doc) + ",toMin=" + outerInstance.m_min + ",toMax=" + outerInstance.m_max + ",fromMin=" + minSource + ",fromMax=" + maxSource + ")"); }
public override string ToString(int doc) { return(outerInstance.Name + "(" + x.ToString(doc) + "," + y.ToString(doc) + ")"); }
public override string ToString(int doc) // LUCENENET TODO: API - Add overload to include CultureInfo ? { return(Convert.ToString(outerInstance.m_a) + "/(" + outerInstance.m_m + "*float(" + vals.ToString(doc) + ')' + '+' + outerInstance.m_b + ')'); }
public override string ToString(int doc) { return(Convert.ToString(outerInstance.m_a) + "/(" + outerInstance.m_m + "*float(" + vals.ToString(doc) + ')' + '+' + outerInstance.m_b + ')'); }
public override string ToString(int doc) { return(outerInstance.slope + "*float(" + vals.ToString(doc) + ")+" + outerInstance.intercept); }
public override string ToString(int doc) { return("scale(" + vals.ToString(doc) + ",toMin=" + outerInstance.min + ",toMax=" + outerInstance.max + ",fromMin=" + minSource + ",fromMax=" + maxSource + ")"); }