docker pull fellah/gitbook
docker run -d --name gitbook -p 80:4000 -v $PATHTOPROJECT/gitbook/:/srv/gitbook fellah/gitbook
./gradlew compileDebugSources compileDebugUnitTestSources assembleDebug --no-build-cache --rerun-tasks |
import kotlin.math.ceil | |
data class Task(val priority: Int, val period: Double, | |
val computingTime: Double, val deadline: Double) | |
/** | |
* Vérifie si une tâche est ordonnaçable | |
* @param list une liste de tâches | |
* @param index l'index de la tâche à vérifier | |
* @return vrai si la pire charge de task est inférieure à son échéance, ou sinon faux |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | |
/* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License version 2 as | |
* published by the Free Software Foundation; | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
* GNU General Public License for more details. |