diff --git a/homework/src/hw3/CatchAllEvaluator.java b/homework/src/hw3/CatchAllEvaluator.java index 24b64d357fa5cbe4c35e77ad75e71e60bd68761d..8394b5fb33565f3ede01ba04643eb9df096bbb71 100644 --- a/homework/src/hw3/CatchAllEvaluator.java +++ b/homework/src/hw3/CatchAllEvaluator.java @@ -1,5 +1,8 @@ package hw3; +import api.Card; +import api.Hand; + /** * Evaluator satisfied by any set of cards. The number of * required cards is equal to the hand size. @@ -8,7 +11,7 @@ package hw3; */ //Note: You must edit this declaration to extend AbstractEvaluator //or to extend some other class that extends AbstractEvaluator -public class CatchAllEvaluator +public class CatchAllEvaluator extends AbstractEvaluator { /** * Constructs the evaluator. @@ -19,9 +22,56 @@ public class CatchAllEvaluator */ public CatchAllEvaluator(int ranking, int handSize) { - // TODO: call appropriate superclass constructor and - // perform other initialization + } + +@Override +public String getName() { + // TODO Auto-generated method stub + return null; +} + +@Override +public int getRanking() { + // TODO Auto-generated method stub + return 0; +} + +@Override +public int cardsRequired() { + // TODO Auto-generated method stub + return 0; +} + +@Override +public int handSize() { + // TODO Auto-generated method stub + return 0; +} + +@Override +public boolean canSatisfy(Card[] mainCards) { + // TODO Auto-generated method stub + return false; +} + +@Override +public boolean canSubsetSatisfy(Card[] allCards) { + // TODO Auto-generated method stub + return false; +} + +@Override +public Hand createHand(Card[] allCards, int[] subset) { + // TODO Auto-generated method stub + return null; +} + +@Override +public Hand getBestHand(Card[] allCards) { + // TODO Auto-generated method stub + return null; +} }