コード例 #1
0
 public BrowsingSession(int id, int displaySize, int zoomingStep, int browsingCoherence, float dropFactor, int randomSeed, MLES mles,
                        Item searchedItem)
 {
     Id                 = id;
     DisplaySize        = displaySize;
     ZoomingStep        = zoomingStep;
     CurrentZoomingStep = 0;
     BrowsingCoherence  = browsingCoherence;
     DropFactor         = dropFactor;
     LayerDepth         = 0;
     random             = new Random(randomSeed);
     DisplayedCounter   = new Dictionary <int, int>();
     Mles               = mles;
     SearchedItem       = searchedItem;
     Display            = new List <Item>();
     BrowsingDepth      = 0;
     Logs               = new LinkedList <BrowsingLog>();
     ItemFound          = false;
 }
コード例 #2
0
 public BrowsingSimulatorEngine(MLES mles)
 {
     Mles = mles;
 }