argutia.logic.argumentationFramework
Enum Agent.Attitude

java.lang.Object
  extended by java.lang.Enum<Agent.Attitude>
      extended by argutia.logic.argumentationFramework.Agent.Attitude
All Implemented Interfaces:
Serializable, Comparable<Agent.Attitude>
Enclosing class:
Agent
public static enum Agent.Attitude
extends Enum<Agent.Attitude>

The notion of admissiblity determines four possible distinct attitudes that an agent may adopt concerning a given formula. By extension, an agent is FOR a set of formulas iff she is FOR the conjunction of the formulas of this set.

Enum Constant Summary
CONTRE
          An agent A is AGAINST f iff f is non-admissible by A and ¬f is admissible by A.
NEUTRE
          An agent A is NEUTRAL about f iff f is admissible by A and ¬f is admissible by A.
PERPLEXE
          An agent A is PUZZLED by f iff f is non-admissible by A and ¬f is non-admissible by A.
POUR
          An agent A is FOR f iff f is admissible by A and ¬f is non-admissible by A.
 
Field Summary
private String key
           
 
Method Summary
 String toString()
           
static Agent.Attitude valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Agent.Attitude[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POUR

public static final Agent.Attitude POUR
An agent A is FOR f iff f is admissible by A and ¬f is non-admissible by A.

NEUTRE

public static final Agent.Attitude NEUTRE
An agent A is NEUTRAL about f iff f is admissible by A and ¬f is admissible by A.

PERPLEXE

public static final Agent.Attitude PERPLEXE
An agent A is PUZZLED by f iff f is non-admissible by A and ¬f is non-admissible by A.

CONTRE

public static final Agent.Attitude CONTRE
An agent A is AGAINST f iff f is non-admissible by A and ¬f is admissible by A.

Field Detail

key

private String key
Method Detail

values

public static final Agent.Attitude[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Agent.Attitude c : Agent.Attitude.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Agent.Attitude valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

toString

public String toString()
Overrides:
toString in class Enum<Agent.Attitude>
Argutia JavaDoc
23 décembre 2007