to be developed / completed / changed:

Sept 2011

Complete CATestHerd
Update wiki / help

CA for table items result type             ok ???????????????????????????????????


CA for commodity  result type in milk, feed, prop item -------------> done
scoping for female classes should be limited to current herd
	in Milk, feed, intake, prop items  ---------------------------------> done
template herd detailed result                               ok
PlanItem: replaced EntityReference by [Entity] and adjust ...        ok

Changed TableItem definition  in xtext, adding OPTIONAL keywords    ok
id for AtomID, adding OPTIONAL keywords   ok

Changed xxxReference names in templates, adjusted CA tests accordingly   ok


tests manifest dependencies:
need for jdt.ui ?
need for jface.text ?

==========
July 2011

Testing the parser for all possible inputs / rules
Testing plan results for Daye IRR

for CA Tests have a look at org.eclipse.xtext.ui.junit.editor.contentassist.AbstractContentAssistProcessorTest

updates tests, runModel, product, mads
=====================
Juin 2011

fix outline for herd  -- done

finish herd equations validations
reflect adjustments in help (example) 

==============

Paris April-May 2011

created fr.msimeon.mads.build.script
created fr.msimeon.mads.product.feature 
	with list of features previously in mads.product
	mads.product edited to include only product.feature
	

===========================

Paris March 2011

...platform.feature : mixxed-up with addon.feature
mads.platform.feature : change ref to branding plugin
mads + mads.ui : change JRE to 1.6 in build path
clean unused imports in runModem Activator
updated concept2.xhtml in runModel.content
added Mads-16x16.ico o icons

runModel.product:


================================

Access to model in EvalPlan to be changed re. leaks

herd example  >>> OK
finalize
copy to madsModels
update/complete help herd.html
re-build update site
re-install in Eclipse Classic

======================
dataIO:  >> OK
check if file exists when defined in headers or in an other script not run by plan
update html

re-build update site
re-install in Eclipse Classic

=====================

changed in Paris Feb 11: 
ExportTable (new)
ExportITT_full (new)
OutputTable_html (new) : invalid thread access when trying to append to doc
InOut.java:
  exportTable creates Job ExportTable
  exportIRR creates Job ExportIRR
ToDo.txt (this file)

 in Jan
MADS.xtext - run mwe2
calc.test.java
HerdModel.java
templates.xml
IPlanResults + PlanResults.java
Calc.java
Expression.java
herd.mads in runtime

===========================
Questions: data per class per year for
- prolificacy rate
- female AtBirthRate
- carcass yield


=======
- Ods export slow ???

==========================
Packaging
- as Eclipse Feature from update site
- as RCP

===========================
More functions to be added ?

accounting-type:
	interest on cash balance
	depreciation

===========================
How to add a new function NewFunc

in Mads.xtext:
	add NewFunc to rule Function
	create NewFunc rule
	
in MadJavaValidator.java:
	add data validation if required

in templates.xml:
	create template for NewFunc

run GenerateMADS.mwe2
	
in help.html.reference.script:
	document NewFunc in help - export and re-install help
	
in mads.run.calc.Expression:
	in evaluateAtom, under section: 		
	else if (atom.getFunction()!=null){  // atom is Function
	add new alternative:
				} else if (function instanceof NewFunc){
					....
				select newFunc() method parameters so that 
				Functions only requires TimeSeries from Mads RunModel plugin
					
in Functions:
	add public static newFunc() method to implement new function
	
test

export updated version 



Matthieu,

Je n'obtiens pas les mmes rsultats que ce que tu m'as envoys, quel que soit le mode 
de calcul deseffectifs mensuels de dpart.

Il va falloir y aller pas  pas !! Ce que j'aimerais dans ton prochain envoi:

- le vecteur initial des effectifs sur la base de la structure qui existerait en 
situation d'quilibre dmographique. Pas de dduction de naissances de l'effectif
initial

- les valeurs par anne des taux mensuels mpdea, mpoff et mpsurv

- le tableau des effectifs par mois par classe mensuelle (pas besoin de 20 ans, tu
peux limiter la projection  10 ans par exemple

- les rsultats annuels comme prcdemment, en prcisant le mode de calcul

Dans ma note antrieure je disais:
Average herd size  is calculated for each age group as follows:
 [ last value of previous year, or initial size
 + (monthly values for months 1 to 11) * 2
 + value of month 12 ] / 24
(la moyenne des valeurs moyennes mensuelles)
Est-ce correct ou fais-tu autrement ?

A+
MS







	
	