Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ QUORUM ?= 3
DF_MAX_RESULT := $(shell expr $(QUORUM) + 5)
PATH_PROJECT_JAR = target/simple_voting_structure-0.0.1-SNAPSHOT.jar
PROJECT_GROUP = simple_voting_structure
JADE_AGENTS = simple_voting_structure:$(PROJECT_GROUP).App($(QUORUM));
JADE_AGENTS = creator:$(PROJECT_GROUP).Creator($(QUORUM));
JADE_FLAGS = -gui -jade_domain_df_maxresult $(DF_MAX_RESULT) -agents "$(JADE_AGENTS)"

.PHONY:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Por fim, o agente mediador informa os vencedores a todos os agentes votantes par

## Projeto em Execução

Abaixo, na *Figura 1*, são apresentados os agentes participantes da votação através da visualização fornecida pelo *sniffer*. Nela, é possível ver o agente *creator*, nomeado por "simple_voting_structure", o agente mediador e os agentes votantes.
Abaixo, na *Figura 1*, são apresentados os agentes participantes da votação através da visualização fornecida pelo *sniffer*. Nela, é possível ver o agente *creator*, o agente mediador e os agentes votantes.

<img src="assets/figura1.png" alt="Visualização dos Agentes pelo *Sniffer*">

Expand Down Expand Up @@ -117,7 +117,7 @@ make run
- É possível alterar a quantidade de agentes participantes ao passar a variável **QUORUM** seguida do número desejado, como pode ser visto abaixo (onde N representa o número desejado de agentes):

```bash
make build-and-run QUORUM=N"
make build-and-run QUORUM=N
```

- Por fim, para apagar os arquivos derivados da *build* do projeto, execute o seguinte comando:
Expand Down
Binary file modified assets/figura1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/figura2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/figura3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/figura4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class that set the main agent and it's actions
*/
public class App extends BaseAgent {
public class Creator extends BaseAgent {

private static final long serialVersionUID = 1L;

Expand Down