Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SimHacker/micropolis
/ decay
Function
decay
MicropolisCore/src/CellEngine/src/cellengine.cpp:5447–5454 ·
view source on GitHub ↗
Return decayed confluent state. */
Source
from the content-addressed store, hash-verified
5445
5446
/* Return decayed confluent state. */
5447
Byte decay(Byte state)
5448
{
5449
if ((state == C00) || (state == C10)) {
5450
return C00;
5451
} else {
5452
return C10;
5453
} // if
5454
}
5455
5456
5457
/*
Callers
1
n_jvn29
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected