Codota Logo
OWLRealUtils.sum
Code IndexAdd Codota to your IDE (free)

How to use
sum
method
in
openllet.core.datatypes.OWLRealUtils

Best Java code snippets using openllet.core.datatypes.OWLRealUtils.sum (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: Galigator/openllet

private static ContinuousRealInterval zoneShrink(final ContinuousRealInterval i)
{
  final Number lower = i.boundLower() ? OWLRealUtils.sum(i.getLower(), TZ_SHIFT) : null;
  final Number upper = i.boundUpper() ? OWLRealUtils.sum(i.getUpper(), -TZ_SHIFT) : null;
  if (lower != null && upper != null)
  {
    final int cmp = OWLRealUtils.compare(lower, upper);
    if (cmp > 0)
      return null;
    else
      if (cmp == 0)
        if (!i.inclusiveLower() && !i.inclusiveUpper())
          return null;
        else
          return new ContinuousRealInterval(lower);
  }
  return new ContinuousRealInterval(lower, upper, i.inclusiveLower(), i.inclusiveUpper());
}
origin: Galigator/openllet

private static ContinuousRealInterval zoneShrink(final ContinuousRealInterval i)
{
  final Number lower = i.boundLower() ? OWLRealUtils.sum(i.getLower(), TZ_SHIFT) : null;
  final Number upper = i.boundUpper() ? OWLRealUtils.sum(i.getUpper(), -TZ_SHIFT) : null;
  if (lower != null && upper != null)
  {
    final int cmp = OWLRealUtils.compare(lower, upper);
    if (cmp > 0)
      return null;
    else
      if (cmp == 0)
        if (!i.inclusiveLower() && !i.inclusiveUpper())
          return null;
        else
          return new ContinuousRealInterval(lower);
  }
  return new ContinuousRealInterval(lower, upper, i.inclusiveLower(), i.inclusiveUpper());
}
openllet.core.datatypesOWLRealUtilssum

Popular methods of OWLRealUtils

  • compare
  • getCanonicalObject
  • isInteger
  • acceptable
  • bigDecimal
  • bigInteger
  • convertFromTo
  • integerDecrement
  • integerDifference
  • integerIncrement
  • integerSum
  • isDecimal
  • integerSum,
  • isDecimal,
  • isRational,
  • print,
  • roundCeiling,
  • roundDown,
  • roundFloor,
  • shrinkBigInteger,
  • signum

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • onRequestPermissionsResult (Fragment)
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • BoxLayout (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now