getActiveWorkspace method

List<Concept> getActiveWorkspace()

Returns the currently active concepts, sorted by salience descending.

Implementation

List<Concept> getActiveWorkspace() {
  _applyDecayIfNeeded();
  return List.unmodifiable(
    _buffer..sort((a, b) => b.calculateSalience().compareTo(a.calculateSalience())),
  );
}