package taurus.util;

import java.util.*;

public class HandAnalysis {
        public Map<Integer, Integer> cardCounts = new HashMap<>();
        public List<List<Integer>> completedMelds = new ArrayList<>();
        public List<Integer> pairs = new ArrayList<>();
        public List<Integer> isolatedCards = new ArrayList<>();
        public Map<Integer, Integer> cardUsefulness = new HashMap<>();
        public Map<Integer, List<Integer>> cardsBySuit = new HashMap<>();


        public boolean isTingPai = false;//是否听牌
        public Set<Integer> tingCards = new HashSet<>(); //听的牌
        public int meldCount = 0; //面子数量
        public int shantenCount = Integer.MAX_VALUE; //向听数
        public int pairCount = 0; //对子/将数量
        public boolean hasLongQiDuiPotential = false; //是否有龙七对潜力
        public Set<Integer> usedInMelds = new HashSet<>(); //用于面子的牌
        public boolean hasPengPengHu = false; //是否有碰碰胡
        public Set<Integer> usedInPairs = new HashSet<>(); //用于对子/将的牌
        public List<Integer> remainingCards = new ArrayList<>(); //剩余需要分析的牌
}