Skip to content

Commit

Permalink
Refactoring Normal.Sample
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorisse committed Jul 8, 2020
1 parent 078ca05 commit 06eb34f
Show file tree
Hide file tree
Showing 20 changed files with 567 additions and 126 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Remove InteractionSphereModel.FrequencyOfSphereUpdate
* Schedule Bug fixe
* AgentEntity.Parent is now an AgentId
* Knowledge and Beliefs result are in percentage to be easily understandable. Sym examples are updated

## 0.8.0 [](https://github.com/lmorisse/symu/compare/v0.8.0..v0.7.0) by [lmorisse](https://github.com/lmorisse)
* Refactoring IterationResult
Expand Down
25 changes: 25 additions & 0 deletions Symu examples/SymuBeliefsAndInfluence/Home.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Symu examples/SymuBeliefsAndInfluence/Home.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ private void UpdateAgents()
_environment.IterationResult.OrganizationFlexibility.Triads.First().Density
.ToString("F1", CultureInfo.InvariantCulture));
WriteTextSafe(TotalBeliefs,
_environment.IterationResult.KnowledgeAndBeliefResults.Beliefs.Last().Sum
_environment.IterationResult.KnowledgeAndBeliefResults.Beliefs.Last().Percentage
.ToString("F1", CultureInfo.InvariantCulture));
WriteTextSafe(InitialTotalBeliefs,
_environment.IterationResult.KnowledgeAndBeliefResults.Beliefs.First().Sum
_environment.IterationResult.KnowledgeAndBeliefResults.Beliefs.First().Percentage
.ToString("F1", CultureInfo.InvariantCulture));
var tasksDoneRatio = _environment.Schedule.Step * _environment.WorkersCount < Tolerance
? 0
Expand Down
228 changes: 228 additions & 0 deletions Symu examples/SymuLearnAndForget/Home.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06eb34f

Please sign in to comment.