mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 16:59:36 +02:00
Adapt to new bot structure
This commit is contained in:
parent
ff7e08ada9
commit
3f84e1d831
3414 changed files with 41525 additions and 709 deletions
1
legacy/Data/ingsw/1122_25/correct.txt
Normal file
1
legacy/Data/ingsw/1122_25/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
c(0)/(1 - p)
|
10
legacy/Data/ingsw/1122_25/quest.txt
Normal file
10
legacy/Data/ingsw/1122_25/quest.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
img=https://i.imgur.com/jQT3J83.png
|
||||
Si consideri il processo software con due fasi (0 ed 1) rappresentato con la Markov chain in figura. Lo stato iniziale 0 e p è in (0, 1). Il costo dello stato (fase) x è c(x). La fase 0 è la fase di design, che ha probabilità p di dover essere ripetuta causa errori. La fase 1 rappreenta il completamento del processo software, e quindi c(1) = 0.
|
||||
|
||||
Il costo di una istanza del processo software descritto sopra è la somma dei costi degli stati attraversati (tenendo presente che si parte sempre dallo stato 0.
|
||||
|
||||
Quindi il costo C(X) della sequenza di stati X = x(0), x(1), x(2), .... è C(X) = c(x(0)) + c(x(1)) + c(x(2)) + ...
|
||||
|
||||
Ad esempio se X = 0, 1 abbiamo C(X) = c(0) + c(1) = c(0) (poichè c(1) = 0).
|
||||
|
||||
Quale delle seguenti formule calcola il valore atteso del costo per completare il processo software di cui sopra
|
1
legacy/Data/ingsw/1122_25/wrong 1.txt
Normal file
1
legacy/Data/ingsw/1122_25/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
c(0)/(p*(1 - p))
|
1
legacy/Data/ingsw/1122_25/wrong 2.txt
Normal file
1
legacy/Data/ingsw/1122_25/wrong 2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
c(0)/(1 - p)
|
Loading…
Add table
Add a link
Reference in a new issue