fixing the parameters is working

This commit is contained in:
Niko Feith 2023-08-17 18:26:00 +02:00
parent 7a2e9ffa03
commit 08bbf88c66
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,6 @@
:min="-1" :min="-1"
:max="1" :max="1"
:interval="0.01" :interval="0.01"
:disabled="store.weights_fixed[idx]"
/> />
<v-checkbox <v-checkbox
class="ma-0 checkbox-bottom" class="ma-0 checkbox-bottom"
@ -29,8 +28,10 @@ import { usePStore } from "@/store/PolicyStore";
import VueSlider from "vue-slider-component"; import VueSlider from "vue-slider-component";
import "vue-slider-component/theme/default.css"; import "vue-slider-component/theme/default.css";
import { computed } from "vue"; import { computed } from "vue";
import {useCStore} from "@/store/ControlStore";
const store = usePStore(); const store = usePStore();
const cstore = useCStore();
const weights = computed({ const weights = computed({
get: () => store.weights, get: () => store.weights,

View File

@ -24,6 +24,7 @@ export const useCStore = defineStore("Control Store", {
"Expected Improvement", "Expected Improvement",
"Probability of Improvement", "Probability of Improvement",
"Upper Confidence Bound", "Upper Confidence Bound",
"Preference Expected Improvement",
], ],
nr_episodes: 50, nr_episodes: 50,
nr_runs: 10, nr_runs: 10,