jadex.examples.puzzle.humanplayer
Agent HumanPlayer
- agent HumanPlayer
Human player agent.
Belief Summary |
belief IBoard |
board
The game board offers possibilities to make moves,
take back moves and keep track of the game history. |
belief BoardGui |
board_gui
The gui of the game board. |
Event Summary |
messageevent |
failure(String language, String ontology, String performative)
|
messageevent |
inform_action_done(Class content-class, String language, String ontology, String performative)
|
messageevent |
request_move(Class content-class, String language, String ontology, String performative)
|
messageevent |
request_takeback(Class content-class, String language, String ontology, String performative)
|
board
belief IBoard board
- The game board offers possibilities to make moves,
take back moves and keep track of the game history.
board_gui
belief BoardGui board_gui
- The gui of the game board.
- Default fact:
new BoardGui($agent.getExternalAccess(), $beliefbase.board, true)
make_move
standard plan make_move()
- Plan body:
- Plan trigger:
- Message events:
request_move
takeback_move
standard plan takeback_move()
- Plan body:
- Plan trigger:
- Message events:
request_takeback
request_move
messageevent request_move(Class content-class,
String language,
String ontology,
String performative)
- Parameters:
- fixed parameter
content-class
Default value:
RequestMove.class
- fixed parameter
language
Default value:
SFipa.NUGGETS_XML
- fixed parameter
ontology
Default value:
PuzzleOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.REQUEST
- Event flags:
- direction: receive
- message type: fipa
- random selection: false
- post to all: false
request_takeback
messageevent request_takeback(Class content-class,
String language,
String ontology,
String performative)
- Parameters:
- fixed parameter
content-class
Default value:
RequestTakeback.class
- fixed parameter
language
Default value:
SFipa.NUGGETS_XML
- fixed parameter
ontology
Default value:
PuzzleOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.REQUEST
- Event flags:
- direction: receive
- message type: fipa
- random selection: false
- post to all: false
inform_action_done
messageevent inform_action_done(Class content-class,
String language,
String ontology,
String performative)
- Parameters:
- fixed parameter
content-class
Default value:
Done.class
- fixed parameter
language
Default value:
SFipa.NUGGETS_XML
- fixed parameter
ontology
Default value:
PuzzleOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.INFORM
- Event flags:
- direction: send
- message type: fipa
- random selection: false
- post to all: false
failure
messageevent failure(String language,
String ontology,
String performative)
- Parameters:
- fixed parameter
language
Default value:
SFipa.NUGGETS_XML
- fixed parameter
ontology
Default value:
PuzzleOntology.ONTOLOGY_NAME
- fixed parameter
performative
Default value:
SFipa.FAILURE
- Event flags:
- direction: send
- message type: fipa
- random selection: false
- post to all: false
3x3 board (no solution)
configuration 3x3 board (no solution)
- Initial Beliefs:
- board Initial value:
new Board(3)
5x5 board (standard)
default configuration 5x5 board (standard)
- Initial Beliefs:
- board Initial value:
new Board(5)
7x7 board (takes quite long)
configuration 7x7 board (takes quite long)
- Initial Beliefs:
- board Initial value:
new Board(7)
9x9 board (takes very long)
configuration 9x9 board (takes very long)
- Initial Beliefs:
- board Initial value:
new Board(9)
jack-5x5
configuration jack-5x5
- Initial Beliefs:
- board Initial value:
new JackBoard()
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.