def nextTimeStep(self): """ Perfoms actions related to time step progression. """ Node.nextTimeStep(self) for bit in self.bits: bit.nextTimeStep() if self.dataSourceType == DataSourceType.file: self.__getNextFileRecord() elif self.dataSourceType == DataSourceType.database: pass
def nextTimeStep(self): """ Perfoms actions related to time step progression. """ Node.nextTimeStep(self) for child in self.children: child.nextTimeStep() for column in self.columns: column.nextTimeStep() # Get input from sensors or lower regions and put into a single input map. input = self.getInput() # Perform spatial activation process given an input map self.performSpatialProcess(input) # Perform temporal activation process given the result of the spatial activation self.performTemporalProcess()