---
# System prepended metadata

title: Meeting Note 5/14
tags: [meeting note]

---

# Meeting Note 5/14 
###### tags: `meeting note`

$v$ 被感染的機率

$$
1-\prod_{g\in G(v)}\prod_{u\in g\cap(I\cup J\cup K)}(1-p^g_{uv})
$$

where

$$
p^g_{uv}=p_{age(v)}\cdot(1-\epsilon_{time(v),state(v)})\cdot\tau_{state(u)}\cdot c_{age(u),age(v)}^g
$$

- $p_{age(v)}$: transmition prob
- $\epsilon_{time(v),state(v)}$: vaccine effectness
- $\tau_{state(u)}$: relative infectiousness
- $c_{age(u),age(v)}^g$: contact matrix

## Implementation

- use priority queue(larger, topper)
- score
$$
-\sum_{g\in G(v)}\sum_{u\in g\cap(I\cup J\cup K)}\log_2(1-p^g_{uv})
$$

- when new infector
    - add $\log(1-p_{uv}^g)$
- when an infector less
    - sub $\log(1-p_{uv}^g)$
- when $v$ gete viccinated
    - 整個重算