Esempio n. 1
0
        /**
         * creates a new empty RankingTrie
         */
        public RankingTrie()
        {
            _urlTrie    = new Trie <PointingNode>();
            _rankLevels = new RankTableEntry[RANK_LEVELS];

            for (int i = 0; i < RANK_LEVELS; i++)
            {
                _rankLevels[i] = new RankTableEntry();
                _rankLevels[i].setRankLevel(i);
            }
            _count   = 0;
            _maxRank = 0;
            _minRank = 100;
        }
Esempio n. 2
0
        /**
         * creates a new empty RankingTrie
         */
        public RankingTrie()
        {
            _urlTrie = new Trie<PointingNode>();
            _rankLevels = new RankTableEntry[RANK_LEVELS];

            for (int i = 0; i < RANK_LEVELS; i++)
            {
                _rankLevels[i] = new RankTableEntry();
                _rankLevels[i].setRankLevel(i);
            }
            _count = 0;
            _maxRank = 0;
            _minRank = 100;
        }
Esempio n. 3
0
 /**
  * sets the rankTableEntry
  */
 public void setRankTableEntry(RankTableEntry rankTableEntry)
 {
     _rankTableEntry = rankTableEntry;
 }
Esempio n. 4
0
 /**
  * sets the rankTableEntry
  */
 public void setRankTableEntry(RankTableEntry rankTableEntry)
 {
     _rankTableEntry = rankTableEntry;
 }