Skip to content

Commit

Permalink
chore: edit simple main configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomoaccursi committed Jan 12, 2024
1 parent 0c1be58 commit e13d2a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/kotlin/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ fun main() {
// Simple initialization of a simulation.
val time = DoubleTime(0.0)
val condition = DummyCondition()
val linkingRule = PositionLinkingRule(1.0)

val environment = EnvironmentImpl(linkingRule)
val environment = EnvironmentImpl()
val linkingRule = PositionLinkingRule(1.0, environment = environment)
environment.setLinkingRule(linkingRule)
val node1 = NodeImpl(1)
node1.addContent(ContentImpl(1))
val node2 = NodeImpl(2)
Expand Down

0 comments on commit e13d2a1

Please sign in to comment.