SCHEMA:
CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR)
USER:
What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis?

QUERY:
SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"