Prev: solving an inequality
Next: MATLAB LOOP
From: Erik L on 31 May 2010 08:19 Hi everybody, Just trying simultanous moves of players in one of my game theoritic model. Let say i have a matrix X[], and all players move simultanously(independent of each other moves) for increasing their payoffs related to the resource matrix X[]. For sequencial moves of player we can program it easilty with for loop iterations. Can somebody tell me how to simulate simultanous moves of players in a non-cooperative game theoritic model. Regards,
From: us on 31 May 2010 08:36 "Erik L" <ibrarali.shah(a)yahoo.com> wrote in message <hu09fn$9sv$1(a)fred.mathworks.com>... > Hi everybody, > > Just trying simultanous moves of players in one of my game theoritic model. Let say i have a matrix X[], and all players move simultanously(independent of each other moves) for increasing their payoffs related to the resource matrix X[]. For sequencial moves of player we can program it easilty with for loop iterations. Can somebody tell me how to simulate simultanous moves of players in a non-cooperative game theoritic model. > > Regards, now... where's your ML code(?)... us
From: Erik L on 31 May 2010 08:49 "us " <us(a)neurol.unizh.ch> wrote in message <hu0afk$ds8$1(a)fred.mathworks.com>... > "Erik L" <ibrarali.shah(a)yahoo.com> wrote in message <hu09fn$9sv$1(a)fred.mathworks.com>... > > Hi everybody, > > > > Just trying simultanous moves of players in one of my game theoritic model. Let say i have a matrix X[], and all players move simultanously(independent of each other moves) for increasing their payoffs related to the resource matrix X[]. For sequencial moves of player we can program it easilty with for loop iterations. Can somebody tell me how to simulate simultanous moves of players in a non-cooperative game theoritic model. > > > > Regards, > > now... where's your ML code(?)... > > us Thanks for reply. Here is my code where i want to call flow_move() function .m file. Obviously, this one is sequencail. I want to make it simultanous. Set of players: [1,,,,node_num] while each node_num has flows set: [1,,,,flow_num]. for i=1 : flow_num, for j=1 : node_num, % Call flow_move for each node and each flow [balanced,per_node]=flow_move(j, i, C,Domain,s); s=per_node; end end Here is the function flow_move: function [a, b]= flow_move(j,i, C, D,s) global CD; global f; for Channel=1 : C, %some operation of a global X[] matrix according to my algorithm a=X[]; b=s; What i want that each palyer(node_num) and it's associated flow_num access the function flow_move() simultanously or at least randomly independent of each other. In my case, i access the flow_move() function sequencailly as obvious from the code. Thanks Erik
|
Pages: 1 Prev: solving an inequality Next: MATLAB LOOP |