jason.stdlib
Class max

Package class diagram package max
java.lang.Object
  extended by jason.asSemantics.DefaultInternalAction
      extended by jason.stdlib.min
          extended by jason.stdlib.max
All Implemented Interfaces:
InternalAction, java.io.Serializable

public class max
extends min

Internal action: .max.

Description: gets the maximum value within a list of terms, using the "natural" order for each type of term. Between different types of terms, the following order is used:
numbers < atoms < structures < lists

Parameters:

Examples:

See Also:
concat, delete, length, member, nth, sort, min, reverse, difference, intersection, union, Serialized Form

Constructor Summary
max()
           
 
Method Summary
protected  boolean compare(Term a, Term t)
           
static InternalAction create()
           
 
Methods inherited from class jason.stdlib.min
checkArguments, execute, getMaxArgs, getMinArgs
 
Methods inherited from class jason.asSemantics.DefaultInternalAction
canBeUsedInContext, prepareArguments, suspendIntention
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

max

public max()
Method Detail

create

public static InternalAction create()

compare

protected boolean compare(Term a,
                          Term t)
Overrides:
compare in class min