swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

batch


From: Magda Fontana
Subject: batch
Date: Fri, 18 Jun 1999 15:02:01 +0200

        Hi all!!

here is the part of my batchSwarm that is under question. Everything works
fine (it writes data to file), except that in the .output file I got only
0s and 1s for the sequences, whereas in the GUI mode they take their
"reasonable" value that should fall between 0 and 1. 

Any idea of which is my mistake?

thank you
Magda



if (loggingFrequency)
   {
    
    xGraph0 = [EZGraph createBegin: [self  getZone]];
    [xGraph0 setGraphics: 0] ;
    [xGraph0 setFileOutput: 1] ;
    xGraph0 = [xGraph0 createEnd] ;

  [xGraph0 createSequence: "XRatio.output"
         withFeedFrom: modelSwarm
         andSelector:M(getXRatio)];
  [xGraph0 createAverageSequence: "XAmongN.output"
           withFeedFrom: [modelSwarm getNativeList]
           andSelector:M(getStrategyNN)];
  [xGraph0 createAverageSequence: "XNvsF.output"
           withFeedFrom: [modelSwarm getNativeList]
           andSelector:M(getStrategyNF)];
  [xGraph0 createAverageSequence: "XFvsN.output"
           withFeedFrom: [modelSwarm getForeignerList]
           andSelector:M(getStrategyFN)];
 [xGraph0 createAverageSequence: "XAmongF.output"
          withFeedFrom: [modelSwarm getForeignerList]
 andSelector:M(getStrategyFF)];
  
     }
    
return self;
}  




                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]