Table schema:
CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR)

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"