Utilizando 100 pontos igualmente espaçados entre [0, 60] para estimar o centróide:
| sujeira | mancha | tempo |
|---|---|---|
| 0 | 0 | 3.13725490196 |
| 0 | 10 | 14.5070829965 |
| 0 | 20 | 18.2774589679 |
| 0 | 30 | 20.5997693148 |
| 0 | 40 | 22.6349329698 |
| package util; | |
| import java.util.Arrays; | |
| import com.google.gson.annotations.Expose; | |
| import com.google.gson.annotations.SerializedName; | |
| import org.hibernate.validator.spi.nodenameprovider.JavaBeanProperty; | |
| import org.hibernate.validator.spi.nodenameprovider.Property; | |
| import org.hibernate.validator.spi.nodenameprovider.PropertyNodeNameProvider; |
Utilizando 100 pontos igualmente espaçados entre [0, 60] para estimar o centróide:
| sujeira | mancha | tempo |
|---|---|---|
| 0 | 0 | 3.13725490196 |
| 0 | 10 | 14.5070829965 |
| 0 | 20 | 18.2774589679 |
| 0 | 30 | 20.5997693148 |
| 0 | 40 | 22.6349329698 |
| # -*- coding: utf-8 -*- | |
| def fibonacci_word(n) : | |
| if n < 0 : | |
| return None | |
| elif n == 0 : | |
| return [1] | |
| elif n == 1 : | |
| return [0] | |
| else : |