Examples of Bool


Examples of ai.domain.bool.Bool

 
  private Pair<Bool, DI> computeInitialValue(Expression exprOrNull, DI input) {
    if (exprOrNull == null)
      return Pair.create(null, input);
    BooleanEvaluationState<DI> x = evaluateCondition(input, exprOrNull);
    Bool resultVal = Bool.BOTTOM;
    DI resultState = x.conditionMet;
    if (!x.conditionMet.isBottom())
      resultVal = resultVal.join(Bool.TRUE);
    if (!x.conditionNotMet.isBottom()) {
      resultVal = resultVal.join(Bool.FALSE);
      resultState = resultState.join(x.conditionNotMet);
    }
    return Pair.create(resultVal, resultState);
  }
View Full Code Here

Examples of ai.domain.bool.Bool

    Matcher matcher = NAME_VALUE_PATTERN_PREFIX.matcher(description);
    if (!matcher.matches())
      throw new CommentParserException("Invalid domain value '%s'", description);
    String variableName = matcher.group(1);
    String valueString = matcher.group(2);
    Bool value = Utils.parseBool(valueString);
    if (value == null)
      throw new CommentParserException("Invalid boolean value '%s'", valueString);
    description = matcher.group(3).trim();
    return Pair.create(Pair.create(variableName, value), description);
  }
View Full Code Here

Examples of com.barchart.util.value.api.Bool

  }

  @Override
  public final boolean equals(Object that) {
    if (that instanceof Bool) {
      Bool thatBool = (Bool) that;
      return this.value() == thatBool.value();
    }
    return false;
  }
View Full Code Here

Examples of com.hp.hpl.jena.eyeball.util.Bool

        return "<LP>: <DO>";
        }
   
    public void render( PrintStream out, Resource item )
        {
        Bool extra = new Bool();
        Statement mainS = item.getProperty( EyeballReporting.mainProperty );
        Resource main = mainS == null ? null : mainS.getResource();
        out.println();
        if (item.hasProperty( EYE.onStatement ))
            {
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.BOOL

            this.setValue(VT_BYREF | VT_BSTR, value);
        }

        public VARIANT(VARIANT_BOOL value) {
            this();
            this.setValue(VT_BOOL, new BOOL(value.intValue()));
        }
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.BOOL

        }

        public VARIANT(boolean value) {
            this();
            if (value)
                this.setValue(VT_BOOL, new BOOL(VARIANT_TRUE.intValue()));
            else
                this.setValue(VT_BOOL, new BOOL(VARIANT_FALSE.intValue()));
        }
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.BOOL

            this.setValue(VT_BYREF | VT_BSTR, value);
        }

        public VARIANT(VARIANT_BOOL value) {
            this();
            this.setValue(VT_BOOL, new BOOL(value.intValue()));
        }
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.BOOL

        }

        public VARIANT(boolean value) {
            this();
            if (value)
                this.setValue(VT_BOOL, new BOOL(VARIANT_TRUE.intValue()));
            else
                this.setValue(VT_BOOL, new BOOL(VARIANT_FALSE.intValue()));
        }
View Full Code Here

Examples of com.sun.jna.platform.win32.WinDef.BOOL

      lpRect.left = 100;
      lpRect.top = 200;
      lpRect.bottom = 300;
      lpRect.right = 500;
     
      assertTrue(User32.INSTANCE.AdjustWindowRect(lpRect, new DWORD(WinUser.WS_THICKFRAME), new BOOL(1)).booleanValue());
     
      assertTrue(lpRect.left < 100);
      assertTrue(lpRect.top < 200);
      assertTrue(lpRect.bottom > 300);
      assertTrue(lpRect.right > 500);
View Full Code Here

Examples of org.mindswap.pellet.utils.Bool

  protected ATermAppl createRestriction(Node node) throws UnsupportedFeatureException {
    Node restrictionType = null;
    Node p = null;
    Node filler = null;
    Node qualification = null;
    Bool isObjectRestriction = Bool.UNKNOWN;

    ClosableIterator<Triple> i = graph.find( node, null, null );
    while( i.hasNext() ) {
      monitor.incrementProgress();
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.