Examples of sim()


Examples of heart.alsvfd.Value.sim()

  @Override
  public UncertainTrue evaluateUncertainSim(Attribute at, Value v, WorkingMemory wm)
      throws UnsupportedOperationException, NotInTheDomainException {
    Value attributeValue = wm.getAttributeValue(at);
    boolean logicalValue = attributeValue.sim(v, at.getType());
   
    return (logicalValue ? new UncertainTrue(getMaxCertainty()): new UncertainTrue(getMinCertainty()));
  }

  @Override
View Full Code Here

Examples of heart.alsvfd.Value.sim()

    // If the value is completely unknown everything is possible.
    if(attributeValue instanceof Null && !(v instanceof Null)){
      return new UncertainTrue(0.0f);
    }
   
    boolean logicalValue = attributeValue.sim(v, at.getType());
    return evaluateUncertainTrueValue(at, v,wm, Formulae.OP_SIM, logicalValue);
  }


  @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.