A Decision Tree Approach for Subcircuit Extraction Problem