| Input: A split graph . |
| Output: A maximum-clique transversal set of of minimum weight. |
| (1) ; |
| (2) for each vertex do |
| (3) ; |
| (4) end for |
| (5) for each vertex do |
| (6) if then |
| (7) ; |
| (8) for each do |
| (9) ; |
| (10) end for |
| (11) end if |
| (12) end for |
| (13) Find a vertex such that ; |
| (14) Find a vertex such that ; |
| (15) Find a vertex such that ; |
| (16) if then |
| (17) ; |
| (18) else |
| (19) ; |
| (20) end if |
| (21) Output the set ; |