001package algs24; 002 003// This is a toy interface for Priority Queues 004// You are not allowed to insert 0.0 005public interface PQ { 006 public int size(); 007 public boolean isEmpty(); 008 public void insert(double x); 009 public double min(); 010 public double delMin(); 011 public void toGraphviz(); 012}