ListPredicates returns all predicates in the store.
()
| 281 | |
| 282 | // ListPredicates returns all predicates in the store. |
| 283 | func (s *TemporalStore) ListPredicates() []ast.PredicateSym { |
| 284 | result := make([]ast.PredicateSym, 0, len(s.facts)) |
| 285 | for pred := range s.facts { |
| 286 | result = append(result, pred) |
| 287 | } |
| 288 | return result |
| 289 | } |
| 290 | |
| 291 | // EstimateFactCount returns the number of temporal facts (atom + interval pairs). |
| 292 | func (s *TemporalStore) EstimateFactCount() int { |
no outgoing calls