Context: 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?
Answer: SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"