Changes between Version 6 and Version 7 of soc2009


Ignore:
Timestamp:
Mar 18, 2009, 10:18:45 PM (14 years ago)
Author:
viboes
Comment:

Adding dependent variables

Legend:

Unmodified
Added
Removed
Modified
  • soc2009

    v6 v7  
     1[[PageOutline]]
    12= Google Summer of Code 2009 =
     3
     4Google will allocate funded student positions as outlined here:
     5
     6[http://socghop.appspot.com/document/show/program/google/gsoc2009/studentallocations]
     7
     8Meaning that it is in our interest to get as many student applications
     9as possible.  We don't know how many will be approved by google.
     10
     11Please post your project ideas here, where interested students will be
     12most likely to stumble on them.
    213
    314== Boost.Serialization ==
     
    3041=== Maximum version check (straszheim) ===
    3142
    32 See https://svn.boost.org/trac/boost/ticket/2830
     43See [https://svn.boost.org/trac/boost/ticket/2830]
    3344
    3445=== Export name aliasing (straszheim) ===
     
    5667[http://groups.google.com/group/boost-list/browse_frm/thread/df6ecfb0089b28fd]
    5768
    58 == Serialization/Frames ==
     69== Serialization/Frames (viboes) ==
    5970
    6071Library based on an extension of the Archive concept making it bidirectional.
     
    175186
    176187== Boost.Accumulators ==
    177 == Dependents accumulators ==
     188=== Dependents accumulators (viboes) ===
    178189
    179190The accumulator library allows to determine dependency between accumulator, but not between accumulator_sets.
     
    234245}}}
    235246
    236 
     247== Dependent variables (viboes) ==
     248Manage with the underlying concepts of a Spreadsheet but without displaying them.
     249 
     250Defines '''cells''' that can be organized in a classical grid consisting of rows and columns, or any other structure as for example a tree.
     251Each cell could contains alphanumeric text or numeric values but can also contain any other value.
     252A spreadsheet cell may alternatively contain a '''formula''' that defines how the contents of that cell is to be calculated from the contents of any other cell (or combination of cells) each time any cell is updated.
     253
     254It seems natural to use Boost.Proto to define the DSL for the cell formulas.
     255
     256{{{
     257#!cpp
     258space sh;
     259space::cell<int> c1(sh), c2(sh), c3(sh);
     260c1.expr=1;
     261c2.expr=2;
     262c3.expr=c1+c2;
     263sh.refresh();
     264std::cout<< c1.value() << ", " << c2.value() << ", " << c3.value() << std::endl;
     265}}}
     266
     267{{{
     268#!cpp
     269sheet sh(2,3);
     270sheet::cell<int> c01(sh,0,1), c02(sh,0,2), c03(sh,0,3);
     271c01.expr=1;
     272c02.expr=2;
     273c03.expr=rel_cell(c03,0,1)+rel_cell(c03,0,2);
     274sh.refresh();
     275std::cout<< c01.value() << ", " << c02.value() << ", " << c03.value() << std::endl;
     276c11.expr=5;
     277c12.expr=8;
     278c13.expr=c03.copy();
     279sh.refresh();
     280std::cout<< c11 << ", " << c12 << ", " << c13 << std::endl;
     281}}}
     282
     283