Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:dydaktyka:problog:lab2 [2017/06/05 14:30]
msl [Probabilistic Graphs]
en:dydaktyka:problog:lab2 [2019/06/27 15:49] (current)
Line 63: Line 63:
  
 <code prolog> <code prolog>
-% X \= Y, because you can meet with yourself+% X \= Y, because you can'​t ​meet yourself
 0.1::​contact(X,​Y) :- human(X), human(Y), X \= Y. 0.1::​contact(X,​Y) :- human(X), human(Y), X \= Y.
 </​code>​ </​code>​
Line 72: Line 72:
     * you can be already infected     * you can be already infected
     * you can get infected because of the bad air     * you can get infected because of the bad air
-    * you can get infected ​because ​via contacting an infected person+    * you can get infected via contacting an infected person
   - check what is the probability that any human gets infected   - check what is the probability that any human gets infected
-    * how would it change if there was only one infected person in beginning?+    * how would it change if there was only one infected person in the beginning?
     * how would it change if one couldn'​t get infected via air?      * how would it change if one couldn'​t get infected via air? 
   - introduce a new element to the model: some people are naturally resistant to the virus   - introduce a new element to the model: some people are naturally resistant to the virus
Line 88: Line 88:
 OK. The epidemics started and unfortunately you and your three friend are the only ones who remained human in the whole shopping mall. Now you have to escape. After the initial disbelief and inevitable panic, you start planning your escape. You are aware of only two viable escape routes: you have a car in the parking lot and there is a helicopter pad on the roof of the mall.  OK. The epidemics started and unfortunately you and your three friend are the only ones who remained human in the whole shopping mall. Now you have to escape. After the initial disbelief and inevitable panic, you start planning your escape. You are aware of only two viable escape routes: you have a car in the parking lot and there is a helicopter pad on the roof of the mall. 
  
-Despite the high risk of meeting zombies on the every route, both targets have additional sets of problems:+Despite the high risk of meeting zombies on every route, both targets have additional sets of problems:
   * you have to get gas from the nearby gas station if you want to use the car   * you have to get gas from the nearby gas station if you want to use the car
   * the cellular network is dead (what happened?!) and you have to get to the only radio station (security room) in the mall to contact the army so the can send the helicopter; what's more you're not sure if the helicopter will be here soon enough to save you.   * the cellular network is dead (what happened?!) and you have to get to the only radio station (security room) in the mall to contact the army so the can send the helicopter; what's more you're not sure if the helicopter will be here soon enough to save you.
en/dydaktyka/problog/lab2.1496665844.txt.gz · Last modified: 2019/06/27 16:00 (external edit)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0