private static boolean equal(double a, double b) {
        return Math.abs(a - b) < 1e-9;
    }
Returns true if the given resources could be allocated on any of the given host flavors
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/AllocatableResources.java