Click here to Skip to main content
15,904,416 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: conversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 3:26
professionalTom Deketelaere13-Sep-07 3:26 
GeneralRe: conversion color - hexnumber - color Pin
Tim Craig13-Sep-07 18:21
Tim Craig13-Sep-07 18:21 
GeneralRe: conversion color - hexnumber - color Pin
Tom Deketelaere13-Sep-07 20:46
professionalTom Deketelaere13-Sep-07 20:46 
AnswerRe: conversion color - hexnumber - color Pin
Jeremy Falcon25-Sep-07 8:45
professionalJeremy Falcon25-Sep-07 8:45 
QuestionDinamyc priority asignation Pin
Nelek12-Sep-07 4:18
protectorNelek12-Sep-07 4:18 
AnswerRe: Dinamyc priority asignation Pin
Russell'13-Sep-07 6:54
Russell'13-Sep-07 6:54 
GeneralRe: Dinamyc priority asignation Pin
Nelek13-Sep-07 22:52
protectorNelek13-Sep-07 22:52 
GeneralRe: Dinamyc priority asignation Pin
Russell'14-Sep-07 0:02
Russell'14-Sep-07 0:02 
I'm quite sure that to solve this problem you have to solve it in 2 steps:

Step 1:

Nelek wrote:
Permission can be 0 or 1 depending of the user that comand the mashine, if he wants the mashine to be available to interact with my program or not, or in some critical parts of the process where they have to work at 100% independantly of what happens around.

Already_Activate can be 0 or 1, this parameter will be set/reset by my programm.

Energy depends on the concrete mashine, from one mashine to another may be different, but always constant for every mashine.

Reaction_time is mashine dependant, like the energy. Is the time between my command and the answer to that command.

Non_Stop_Time is variable for every case, it is the time between the last time that the mashine had a command from my programm to the actual moment.

StepValue [Actual] can be variable with the time, but according to a relation of fixed values (the array). In some minutes will have a value, in other moments another value and so on.


There are what we called Parm1, ... parmN (parm*)

Now fix a 'standard' output:

priority_Std=F_std(parm1, parm2, ...parmN);


This step is quite simple, you gave good ideas on how mix this parameters to obtain the right output. The only problem is to choose the 'standard' output that you want to obtain (priority_Std).
I think that it could be the more probable output..

Step 2)

You will have
priority=priority_std+F_Variation(parm1, parm2, ...parmN, calib1, ...calibM);


M!=N in general (I hope that M<N)

where calib* is the calibration parameter at that time (you correcly refer this to a function of time), this mens that priority is a function of time. The parameters parm* mest be taken as constants.

Write the function F_std is quite simple...not the same for F_Variation!

One way is this

F_Variation=SumOn(i,j)(parm_i*parm_j*calib(i,j))



Now you have simply to find this calib values according on what priority_variation you want in different conditions.
Smile | :)



Russell

GeneralRe: Dinamyc priority asignation Pin
Nelek14-Sep-07 0:51
protectorNelek14-Sep-07 0:51 
GeneralRe: Dinamyc priority asignation Pin
Russell'14-Sep-07 1:07
Russell'14-Sep-07 1:07 
GeneralRe: Dinamyc priority asignation Pin
Nelek14-Sep-07 1:51
protectorNelek14-Sep-07 1:51 
GeneralRe: Dinamyc priority asignation Pin
Russell'14-Sep-07 2:17
Russell'14-Sep-07 2:17 
GeneralRe: Dinamyc priority asignation Pin
Nelek25-Sep-07 2:17
protectorNelek25-Sep-07 2:17 
GeneralRe: Dinamyc priority asignation Pin
Russell'25-Sep-07 3:03
Russell'25-Sep-07 3:03 
QuestionSemi automatic forground video segmentation Pin
ptr_Electron12-Sep-07 0:17
ptr_Electron12-Sep-07 0:17 
AnswerRe: Semi automatic forground video segmentation Pin
Russell'12-Sep-07 2:34
Russell'12-Sep-07 2:34 
QuestionCommon path aspect algorithm, help please! Pin
c#_keithy10-Sep-07 4:43
c#_keithy10-Sep-07 4:43 
AnswerRe: Common path aspect algorithm, help please! Pin
Dan Neely10-Sep-07 5:41
Dan Neely10-Sep-07 5:41 
GeneralRe: Common path aspect algorithm, help please! Pin
c#_keithy10-Sep-07 5:45
c#_keithy10-Sep-07 5:45 
GeneralRe: Common path aspect algorithm, help please! Pin
Dan Neely10-Sep-07 6:57
Dan Neely10-Sep-07 6:57 
AnswerRe: Common path aspect algorithm, help please! Pin
Russell'10-Sep-07 6:17
Russell'10-Sep-07 6:17 
QuestionRe: Common path aspect algorithm, help please! Pin
David Crow10-Sep-07 7:23
David Crow10-Sep-07 7:23 
Questioneliminate 50Hz noise in ECG.. Pin
ashwiny9-Sep-07 23:38
ashwiny9-Sep-07 23:38 
AnswerRe: eliminate 50Hz noise in ECG.. Pin
Russell'9-Sep-07 23:56
Russell'9-Sep-07 23:56 
GeneralRe: eliminate 50Hz noise in ECG.. Pin
ashwiny10-Sep-07 23:12
ashwiny10-Sep-07 23:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.