/// <summary> The current implementation will try to find the memory for the node. /// If it doesn't find it, it will create a new one. /// </summary> public virtual Object getAlphaMemory(Object key) { Object m = alphaMemories.Get(key); if (m == null) { String mname = "alphamem" + ((BaseNode)key).nodeID; m = new AlphaMemoryImpl(mname); alphaMemories.Put(key, m); } return(m); }
/// <summary> The current implementation will try to find the memory for the node. /// If it doesn't find it, it will create a new one. /// </summary> public virtual Object getAlphaMemory(Object key) { Object m = alphaMemories.Get(key); if (m == null) { String mname = "alphamem" + ((BaseNode) key).nodeID; m = new AlphaMemoryImpl(mname); alphaMemories.Put(key, m); } return m; }