Ignore:
Timestamp:
09/23/13 18:54:07 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • add SimultorProviders? hierarchy
  • start Framsticks server over SSH
  • FJF compatible with Framsticks 4.0rc3
  • reading and writing of standard.expt
  • a proof-of-concept implementation of StandardExperiment?

CHANGELOG:
Optionally return FreeAccess? from registry.

Add SimulatorRange?.

StandardExperiment? with genotypes circulation.

Automate registration around StandardState?.

More improvements to StandardExperiment?.

Skeleton version of StandardExperiment?.

Test saving of StandardState?.

Standard experiment state is being loaded.

More development towards StandardState? reading.

Work on reading standard experiment state.

Add classes for standard experiment.

Update example standard.expt

Add FreeAccess? and FreeObject?.

Made compatible with version 4.0rc3

Change deserialization policy.

Improve SSH support.

Working running simulator over SSH.

Fix joining bug in Experiment.

Working version of SimulatorRunner?.

Add more SimulatorProviders?.

Working PrimeExperimentTest? with 4.0rc3

Add references to deserialization.

Add OpaqueObject? and it's serialization.

Add deserialization of dictionaries.

Partial implementation of deserialization.

Add more tests for deserialization.

Prepare tests for deserialization.

Add proper result to prime experiment test.

Minor fixes to simulators providers.

Draft version of SimulatorProvider?.

Add SimulatorProvider? interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/params/ParamCandidate.java

    r105 r107  
    8080        protected final OneTime<Method> remover = new OneTime<>("remover");
    8181        protected final OneTime<Class<? extends Param>> paramType = new OneTime<>("paramType");
     82        protected final OneTime<String> stringType = new OneTime<>("stringType");
    8283
    8384        protected int flags = 0;
     
    278279                if (!paramAnnotation.paramType().equals(Param.class)) {
    279280                        paramType.set(paramAnnotation.paramType());
     281                }
     282                if (!"".equals(paramAnnotation.stringType())) {
     283                        stringType.set(paramAnnotation.stringType());
    280284                }
    281285                if (member instanceof Field) {
     
    371375                protected final List<ParamCandidate> order;
    372376                protected final java.util.Set<Class<?>> dependantClasses = new HashSet<>();
     377                protected final java.util.Set<String> dependantClassesFromInfo = new HashSet<>();
    373378
    374379                /**
     
    398403                        return dependantClasses;
    399404                }
     405
     406                public java.util.Set<String> getDependentClassesFromInfo() {
     407                        return dependantClassesFromInfo;
     408                }
    400409        }
    401410
     
    432441                                        result.dependantClasses.add(r);
    433442                                }
    434 
     443                                for (String i : fa.registerFromInfo()) {
     444                                        result.dependantClassesFromInfo.add(i);
     445                                }
    435446
    436447                                final List<String> order = Arrays.asList(fa.order());
     
    575586
    576587        public ParamBuilder induceParamType(ParamBuilder builder) {
     588
     589                if (stringType.has()) {
     590                        return builder.type(stringType.get());
     591                }
     592
    577593                Method method = getCaller();
    578594                if (method == null) {
Note: See TracChangeset for help on using the changeset viewer.