resolve() {
        for (let i = 0; i < this.output1.length; i++) {
            this.output1[i].value = 0;
        }
        if(this.input.value !== undefined) this.output1[this.input.value].value = 1; // if input is undefined, don't change output
        for (let i = 0; i < this.output1.length; i++) {
            simulationArea.simulationQueue.add(this.output1[i]);
        }
        this.setOutputsUpstream(true);
    }
@memberof Decoder
resolve output values based on inputData