jdrew.oo.builtins
Class RoundBuiltin

java.lang.Object
  extended by jdrew.oo.builtins.RoundBuiltin
All Implemented Interfaces:
Builtin

public class RoundBuiltin
extends java.lang.Object
implements Builtin

Implements a Round built-in relation. Satisfied iff the first argument is equal to the nearest number to the second argument with no fractional part. If the first argument is a variable then it will be bound to the nearest number to the second argument with no fractional part.

Title: OO jDREW

Description: Reasoning Engine for the Semantic Web - Supporting OO RuleML 0.88

Copyright: Copyright (c) 2005


Constructor Summary
RoundBuiltin()
           
 
Method Summary
 DefiniteClause buildResult(Term t)
           
 int getSymbol()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundBuiltin

public RoundBuiltin()
Method Detail

buildResult

public DefiniteClause buildResult(Term t)
Specified by:
buildResult in interface Builtin

getSymbol

public int getSymbol()
Specified by:
getSymbol in interface Builtin