Hypergraph-based recognition memory model for lifelong experience