Example #1
0
        public Page(UrlStamp url, int ID)
        {
            _url = url;
            parser = new HTMLParser(_url);
            Console.WriteLine("\tparser finished!");
            shingles = new Shingles(parser, 4, 84, 12);
            Console.WriteLine("\tshingles finished!");

            _dateVisited = DateTime.Now;
            _depth = url.Depth;
            _ID=ID;
        }
Example #2
0
        public Page(UrlStamp url, int ID)
        {
            _url   = url;
            parser = new HTMLParser(_url);
            Console.WriteLine("\tparser finished!");
            shingles = new Shingles(parser, 4, 84, 12);
            Console.WriteLine("\tshingles finished!");


            _dateVisited = DateTime.Now;
            _depth       = url.Depth;
            _ID          = ID;
        }