Skip to content

Commit

Permalink
feat: adding useReputation property
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanCapistrano committed Mar 24, 2024
1 parent 979f47f commit 1673395
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/OSGI-INF/blueprint/blueprint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<property name="ledgerConnector" ref="ledgerConnector" />
<property name="useCredibility" value="${useCredibility}" />
<property name="useLatestCredibility" value="${useLatestCredibility}" />
<property name="useReputation" value="${useReputation}" />
<property name="nodeCredibility" ref="nodeCredibility" />
<property name="csvWriter" ref="csvWriterService" />
<property name="credibilityHeader" value="${credibilityHeader}" />
Expand Down Expand Up @@ -73,6 +74,7 @@
<cm:property name="changeDisturbingNodeBehaviorTaskTime" value="30" />
<cm:property name="useCredibility" value="true" />
<cm:property name="useLatestCredibility" value="true" />
<cm:property name="useReputation" value="true" />
<cm:property name="debugModeValue" value="true" />
<cm:property name="credibilityHeader" value="Node_ID,Type,C(n),R,Tr(n),Cr_old(n),Cr_new(n),Started_experiment_time,wrote_file_time,Node_provider_ID" />
</cm:default-properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ changeDisturbingNodeBehaviorTaskTime=30
useCredibility=true
# Determina se é para usar (true) ou não (false) a credibilidade mais recente para o cálculo da reputação.
useLatestCredibility=true
# Determina se o sistema vai usar (true) ou não (false) a reputação para a escolha do provedor de serviço.
useReputation=true
# Cabeçalho do experimento de credibilidades.
# Obs: Separe somente utilizando vírgula
credibilityHeader=Node_ID,Type,C(n),R,Tr(n),Cr_old(n),Cr_new(n),Started_experiment_time,wrote_file_time,Node_provider_ID
Expand Down

0 comments on commit 1673395

Please sign in to comment.