davoud taghawi

Greenhorn
+ Follow
since Aug 18, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by davoud taghawi

Hello,

that was the problem. The solution is http://fjep.sourceforge.net/ . Fat-Jar a plugin that supports jars in jars

davoud
14 years ago
Hello,

I try to package a jar file in linux, but when I double click the jar file nothing happens.( The programs runs fine from eclipse).

when I try it on the promt the following happaens


How can I solve this?
14 years ago
HI,

I took Sunny X Narula solution and modified it so that I can choose the variables to be summed up. Anyway too make this nicer?
What bothers me is that there are five lines in the main routine to get the sum. I would like a solution, where we have to write only one line of code in the main routine, to get the sum of any agent variable.

Thanks Davoud

14 years ago
Hello,

I have an array of a class:





I am looking for an elegant way to calculate the sum of each of this variables over all agents.

Until now I use 4 functions like this:


Is there an elegant solution?

Davoud

14 years ago