Persistent
Arrays
in Java/KML
Claude
Marché
Introduction
Java
specification
Arrays with
diffs
Conclusions
Persistant Arrays in Java/KML
Claude Marché
INRIA, project-team ProVal
http://proval.lri.fr
INRIA Saclay & LRI, CNRS & Université Paris-Sud 11
Orsay, France
Réunion CeProMi — 20 mars 2008
Persistent
Arrays
in Java/KML
Claude
Marché
Introduction
Java
specification
Arrays with
diffs
Conclusions
Outline
1Introduction
2Java specification
3Arrays with diffs
4Conclusions
Persistent
Arrays
in Java/KML
Claude
Marché
Introduction
Java
specification
Arrays with
diffs
Conclusions
Outline
1Introduction
2Java specification
3Arrays with diffs
4Conclusions
Persistent
Arrays
in Java/KML
Claude
Marché
Introduction
Java
specification
Arrays with
diffs
Conclusions
Purely functional arrays
Purely functional arrays or logic arrays
To avoid polymorphism issue: let’s consider array of reals
Abstract data type named tab
Creation:
create :Z×Rtab
create(n,x): indexed from 0 to n1, each cell contains
x
Access to a cell:
select :tab ×ZR
Update of a cell:
store :tab ×Z×Rtab
Persistent
Arrays
in Java/KML
Claude
Marché
Introduction
Java
specification
Arrays with
diffs
Conclusions
Properties
Persistence property:
t1create(4,1.1);
t2store(t1,0,2.2);
then select(t1,0)gives 1.1
Logic properties:
select(store(t,i,x),i) = x
i6=jselect(store(t,i,x),j) = select(x,j)
etc. (theory of array)
1 / 20 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !