Skip to content

Commit b77511a

Browse files
Ruediger.LundeRuediger.Lunde
authored andcommitted
Documentation improved.
1 parent 4f20751 commit b77511a

File tree

1 file changed

+23
-30
lines changed

1 file changed

+23
-30
lines changed
Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,51 @@
11
package aima.search.map;
22

33
/**
4-
* The AIMA framework uses dynamic attributes to make implementations
5-
* of agents and environments completely independent of each other. The
6-
* disadvantage of this concept is, that it's error-prone. This set
7-
* of constants is designed to make information exchange more reliable
8-
* for map agents. Two kinds of attributes are distinguished.
9-
* Percept attributes are attached to percepts.
10-
* They are generated by the environment and read by by the agent.
11-
* Agent attributes are attached to agents. They are also generated
12-
* by the environment but the agents are not allowed to access them.
4+
* The AIMA framework uses dynamic attributes to make implementations of agents
5+
* and environments completely independent of each other. The disadvantage of
6+
* this concept is, that it's error-prone. This set of constants is designed to
7+
* make information exchange more reliable for map agents. Two kinds of
8+
* attributes are distinguished. Percept attributes are attached to percepts.
9+
* They are generated by the environment and read by by the agent. Agent
10+
* attributes are attached to agents. They are also generated by the environment
11+
* but the agents are not allowed to access them.
12+
*
1313
* @author R. Lunde
1414
*/
1515
public class DynAttributeNames {
1616
/**
17-
* Name of a dynamic attribute, which contains the current
18-
* location of the agent. To be compatible with
19-
* {@code aima.search.map.MapEnvironment} it is advisable,
20-
* not to change the value.
17+
* Name of a dynamic attribute, which contains the current location of the
18+
* agent.
2119
*/
2220
public static final String AGENT_LOCATION = "location";
2321
/**
24-
* Name of a dynamic attribute, which maintains the total
25-
* traveling distance of the agent since birth.
26-
* Should be of type Integer.
22+
* Name of a dynamic attribute, which maintains the total traveling distance
23+
* of the agent since birth. Should be of type Integer.
2724
*/
2825
public static final String AGENT_TRAVEL_DISTANCE = "travelDistance";
2926
/**
30-
* Name of a dynamic attribute, which indicates the current
31-
* status of the agent, such as traveling, completed or aborted.
27+
* Name of a dynamic attribute, which indicates the current status of the
28+
* agent, such as traveling, completed or aborted.
3229
*/
3330
public static final String AGENT_STATUS = "status";
34-
31+
3532
/**
3633
* Name of a dynamic attribute, which tells the agent where it is.
37-
* To be compatible with
38-
* {@code aima.search.map.MapEnvironment#STATE_IN}
39-
* it is advisable not to change the value.
40-
*/
34+
*/
4135
public static final String PERCEPT_IN = "In";
4236
/**
43-
* Name of a dynamic attribute, which tells the agent which
44-
* actions are possible at the current location of the agent.
37+
* Name of a dynamic attribute, which tells the agent which actions are
38+
* possible at the current location of the agent.
4539
*/
4640
public static final String PERCEPT_POSSIBLE_ACTIONS = "Signpost";
4741
/**
48-
* Name of a dynamic attribute. It provides access to
49-
* informations which are available at the current location
50-
* of the agent.
42+
* Name of a dynamic attribute. It provides access to informations which are
43+
* available at the current location of the agent.
5144
*/
5245
public static final String PERCEPT_INFOS = "Infos";
5346
/**
54-
* Name of a dynamic attribute. It provides access to objects,
55-
* which are visible at the current location of the agent.
47+
* Name of a dynamic attribute. It provides access to objects, which are
48+
* visible at the current location of the agent.
5649
*/
5750
public static final String PERCEPT_OBJECTS = "Objects";
5851
}

0 commit comments

Comments
 (0)