A method for selecting between multiple available program function for providing multiple instances of an implemented function, thereby providing a redundantly implemented function, in a vehicle, a ship, or an aircraft, the method comprising:
- for each program function, recording, in a matrix, dependencies between single performance values for functional units used for performing the respective program function and total performance values been stipulated for a redundantly implemented function, each functional unit comprising a network node or an actuator configured to implement a function in the vehicle, ship, or aircraft,
- wherein for each respective matrix:
- the rows of the matrix are associated with the total performance values and the columns of the matrix are associated with the single performance values, or
- the columns of the matrix are associated with the total performance values and the rows of the matrix are associated with the single performance values,
- the matrix contains two different values, and
- at least two rows of the matrix or at least two columns of the matrix are provided for at least one total performance value to represent OR functions and/or to utilize states of functional units associated with the respective total performance value,
- receiving sensor data, via at least one first communication link, from at least one first sensor associated with the functional units,
- determining current single performance values of the functional units based on the received sensor data,
- determining a total performance value for the functional units based on the determined single performance values and the recorded dependencies,
- selecting between the multiple program function for providing the redundantly implemented function based on the total performance value or at least one value determined from the total performance value.