Local updates of frontAngleId for cells#559
Merged
Conversation
…tempValue2.as_float2 instead Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com>
…ared2 Remove Cell::shared1 and Cell::shared2, use tempValue1/tempValue2 instead
… into features/CreatureCheck
…erization, add lastUpdate tests Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com>
Add headCell(true) to all cells in tests that run >110 timesteps to prevent cell death from the new lastUpdate mechanism. Without a head cell, non-head cells have their lastUpdate incremented every timestep and die when it exceeds Cell::UpdateInterval + 10 (110). Files fixed: - FrontAngleUpdateTests: Update expectations for noUpdate_equalFrontAngleId - MuscleTests: Add headCell(true) to all cells, GenomeDesc with matching frontAngle for muscle head cells - PhysicsTests: Add headCell(true) to all cells in angular force and ghost tests - EnergyFlowTests: Add headCell(true) to all cells in long-running tests - GeneratorTests: Add headCell(true) to generator cells in >110 timestep tests - BalanceTests: Add headCell(true) to seed constructor cells - ConstructorTests: Add headCell(true) to cells in long-running tests - CreatureTests: Add headCell(true) to constructor seed cells Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…fix BendingMuscles frontAngleId expectation Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com> Agent-Logs-Url: https://github.com/chrxh/alien/sessions/e5955d01-d7a1-48a3-864c-36cc7510ca21
Fix tests for periodic front angle update mechanism
…Capabilities fixed
…Capabilities fixed, second try
- FrontAngleUpdateTests -> HeadUpdateTests (class + file rename) - Cell::frontAngleId -> Cell::headUpdateId (CellTO, CellDesc) - Creature::frontAngleId -> Creature::headUpdateId (CreatureTO, CreatureDesc) - CellProcessor::frontAngleUpdate_calcFutureValue -> headUpdate_calcFutureValue - CellProcessor::frontAngleUpdate_applyFutureValue -> headUpdate_applyFutureValue - Updated all serializer constants, kernel names, GUI, tests Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com> Agent-Logs-Url: https://github.com/chrxh/alien/sessions/5a401fee-a4f0-41a4-aef7-09507c241546
…-update Rename frontAngleUpdate → headUpdate and frontAngleId → headUpdateId
… into features/CreatureCheck
- In NodeEditorWidget: show error when user selects void type for first node (index 0) and revert to previous type - In GeneEditorWidget: show error when user moves void node upward to first position and cancel the operation Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com> Agent-Logs-Url: https://github.com/chrxh/alien/sessions/a84ca9cb-a3f5-4ff2-bdca-79fe28473b0a
…s-first-node Prevent void cell type as first node
…s-first-node Threshold for dying in lastUpdate increased
…ew data Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com> Agent-Logs-Url: https://github.com/chrxh/alien/sessions/2ed8c197-460d-4aaf-99fd-7ec210931100
Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com> Agent-Logs-Url: https://github.com/chrxh/alien/sessions/2ed8c197-460d-4aaf-99fd-7ec210931100
Fix non-deterministic cell death in preview mode by resetting lastUpdate on load
…old (> 201) Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com> Agent-Logs-Url: https://github.com/chrxh/alien/sessions/e0d6de70-ccc4-4195-868b-2aa3dd338387
…nstants.h Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com> Agent-Logs-Url: https://github.com/chrxh/alien/sessions/a7be821d-56e9-4708-ac1b-71691399a215
Fix CellStateTransitionTests to match current lastUpdate death threshold
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.