Commit Graph

9 Commits

Author SHA1 Message Date
filifa 4ec04b6abf add tests for if graph is absorbing markov chain 2025-05-02 21:02:05 -04:00
filifa d373253d76 remove unneeded type assertions 2025-05-02 20:27:12 -04:00
filifa 0dac9efc78 add function for getting absorbing states 2025-05-02 20:24:35 -04:00
filifa 241cf1a9d0 use multigraph implementation to handle self loops 2025-05-02 02:07:21 -04:00
filifa dee62e55a5 go fmt 2025-05-02 01:09:48 -04:00
filifa d88a5d28f8 change type of argument 2025-05-02 01:09:19 -04:00
filifa 2e48c11582 output the adjacency matrix 2025-05-02 01:04:00 -04:00
filifa 1f589633b7 change default absent value to 0 2025-05-02 00:40:30 -04:00
filifa 5228ebccbe implement checking if graph is an absorbing markov chain 2025-05-01 21:05:12 -04:00