Question: What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis?
SQL: SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"