decisionMakingSystem
Class Affordance

Package class diagram package Affordance
java.lang.Object
  extended by decisionMakingSystem.Affordance
All Implemented Interfaces:
Serializable, Cloneable

public class Affordance
extends Object
implements Cloneable, Serializable

Affordance contains its type, attractivity and a counter. It is used exclusively for items as they need to be attractive etc.

Author:
Ondrej
See Also:
Serialized Form

Field Summary
 int attractivity
          attractivity of the item -> for that affordance - if it is one of the needed ones, it is higher
 int counter
          how many times we searched for this affordance?
 AffordanceType type
          type of affordance
 
Constructor Summary
Affordance()
           
Affordance(AffordanceType type)
           
 
Method Summary
 Object clone()
           
static void main(String[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public AffordanceType type
type of affordance


attractivity

public int attractivity
attractivity of the item -> for that affordance - if it is one of the needed ones, it is higher


counter

public int counter
how many times we searched for this affordance?

Constructor Detail

Affordance

public Affordance()

Affordance

public Affordance(AffordanceType type)
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.