I am new to Java, so, my question may be so simple for you. But I am trying to solve this issue for ages.
I am not writing my code. It is from MATSim. Their codes have two versions: one from 2009, and the other from 2013.
please see this screenshot:
If tis picture does not work please see it via tweeter: ScreenShot
I have downloaded the 2013 version and added its library according to the guidelines. BUT the code up in Eclipse is a code from 2009 and as you can see some of the classes needed for this code is removed from the 2013 library.
***>>>>>>For example, this one is not in the library:..... import org.matsim.core.scoring.PlanScorer;<<<<<<<<<<<***
import org.matsim.knowledges.Knowledges;
import org.matsim.locationchoice.constrained.LocationMutatorwChoiceSet;
import org.matsim.locationchoice.constrained.ManageSubchains;
import org.matsim.locationchoice.constrained.SubChain;
import org.matsim.planomat.Planomat;
import org.matsim.planomat.costestimators.DepartureDelayAverageCalculator;
import org.matsim.planomat.costestimators.LegTravelTimeEstimatorFactory;
import org.matsim.population.algorithms.PlanAlgorithm;
**>>>>>>> or these specific classes: ..... import playground.mfeil.MDSAM.ActivityTypeFinder;
import playground.mfeil.config.PlanomatXConfigGroup;<<<<<<<<<<**
Fortunately I found their .java files from their archive. I tried to put them in the .jar folder and add them to the library via >>> properties/Java Build Path. But this didn't work for me.
I wonder if you help me in this matter. Please if you know how to do it, help me in how to change the path of files in the above code too. Is it enough just to change the path manually?
Your help is much appreciated.
Thank you, Somayeh