question: What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis?
answer: SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"
context: CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR)