Esempio n. 1
0
        public void TransferFrom(Consciousness otherConsciousness)
        {
            for (int i = 0; i < Size; i++)
            {
                _actions[i].TranferFrom(otherConsciousness._actions[i]);
            }

            UpdateHash();
        }
Esempio n. 2
0
        public bool IsRelative(Consciousness other)
        {
            var abs = Math.Abs(hash - other.hash);

            if (abs < 4)
            {
                return(true);
            }

            return(false);
        }