Examples of SetValue


Examples of heart.alsvfd.SetValue

    }
    return cf;
  }
 
  private static SetValue getComplement(Attribute at, Value v, WorkingMemory wm) throws UnsupportedOperationException, NotInTheDomainException{
    SetValue complement = (SetValue)at.getType().getDomain().except(v, at.getType());
    Value attributeValue = wm.getAttributeValue(at);
    for(Value atValue: ((SetValue)attributeValue).getValues()){
      for(Value compValue: complement.getValues()){
        if(atValue.eq(compValue, at.getType())){
          compValue.setCertaintyFactor(atValue.getCertaintyFactor());
        }
      }
    }
View Full Code Here

Examples of heart.alsvfd.SetValue

    return complement;
  }
 
  private static SetValue getDifference(Attribute at, Value v, WorkingMemory wm) throws UnsupportedOperationException, NotInTheDomainException{
    Value attributeValue = wm.getAttributeValue(at);
    SetValue diff = (SetValue)attributeValue.except(v, at.getType());
   
    for(Value atValue: ((SetValue)attributeValue).getValues()){
      for(Value compValue: diff.getValues()){
        if(atValue.eq(compValue, at.getType())){
          compValue.setCertaintyFactor(atValue.getCertaintyFactor());
        }
      }
    }
View Full Code Here

Examples of rocket.beans.rebind.set.SetValue

  protected SetValue visitSet(final Element element) {
    final SetTag tag = new SetTag();
    tag.setElement(element);
    tag.setPlaceHolderResolver(placeHolderResolver);

    final SetValue set = new SetValue();
    final List<Value> elements = this.visitValues(tag.getValues());
    set.setElements(elements);
    set.setFilename(this.getFilename());
    set.setGeneratorContext(this.getGenerator().getGeneratorContext());
    return set;
  }
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.