Page MenuHomePhorge
Feed Advanced Search

Advanced Search

May 4 2019

btutzer added a comment to R20:a94537b537bb: Implemented RangeConfidence.

! In R20:a94537b537bbdabf920b23f61c00f10e8b2d0388#8669, @goetzinger wrote:
Hello Benedikt, I checked Abstraction.hpp, agent-functionalities.cpp and functionAbstraction.hpp. I haven't seen any errors but I don't understand the whole code. If you have time to skype with me a bit in the next days, it would be nice. Br Maxi

Also, please note that I updated some comments yesterday (after our call), so make sure you pulled the latest commit from the feature/linear_functions branch (1d3bf7fe7a40), maybe the new comments clear some things up.

May 4 2019, 11:51 AM
btutzer requested verification of R20:a94537b537bb: Implemented RangeConfidence.

Hello Benedikt, I checked Abstraction.hpp, agent-functionalities.cpp and functionAbstraction.hpp. I haven't seen any errors but I don't understand the whole code. If you have time to skype with me a bit in the next days, it would be nice. Br Maxi

May 4 2019, 10:37 AM

May 3 2019

btutzer committed R20:5850a4577370: Improved comments.
Improved comments
May 3 2019, 3:11 PM
btutzer committed R20:1d3bf7fe7a40: Coding style fixes.
Coding style fixes
May 3 2019, 3:11 PM
btutzer committed R20:5fa0b7c07979: Added isDefaultAt to RangeConfidence.
Added isDefaultAt to RangeConfidence
May 3 2019, 3:11 PM
btutzer committed R20:b51634dc403b: PartialFunctions now only return false for isDefaultAt if both a function is….
PartialFunctions now only return false for isDefaultAt if both a function is…
May 3 2019, 3:10 PM
btutzer added a comment to R20:cb3a24c0eeae: RangeAbstractions now abstract to Maps from identifiers to values instead of….

783f8c48d55e looks good!
Could you please complete the documentation comments for the new function before I accept this commit?

May 3 2019, 2:35 PM
btutzer committed R20:040533b7e00b: Doc.
Doc
May 3 2019, 1:57 PM
btutzer committed R20:98e7040fbcba: Better type names in templates.
Better type names in templates
May 3 2019, 1:57 PM
btutzer added a comment to R20:cb3a24c0eeae: RangeAbstractions now abstract to Maps from identifiers to values instead of….

On another note: I tried to stick to your coding-style as much as possible. This included your naming convention of template typenames (T, A, ...). As RangeConfidence requires three such typenames, this get's a little out of hand. I'd rather call them DomainType (T), IdType (A) and RangeType (B), would you be ok with that @juhasz?

May 3 2019, 12:27 PM
btutzer added inline comments to R20:cb3a24c0eeae: RangeAbstractions now abstract to Maps from identifiers to values instead of….
May 3 2019, 12:23 PM
btutzer accepted R20:4d1769830f25: Extend example deluxe-interface with DeluxeTuples.

Ah audit's are registered per-person. So I can accept my part.

May 3 2019, 12:18 PM
btutzer resigned from R20:4d1769830f25: Extend example deluxe-interface with DeluxeTuples.
May 3 2019, 12:15 PM
btutzer added a comment to R20:4d1769830f25: Extend example deluxe-interface with DeluxeTuples.

Looks good to me. I'll leave it up to Maxi to accept the commit.

May 3 2019, 12:15 PM
btutzer added inline comments to R20:fb3a26551f89: Implement tuple values in the deluxe interface.
May 3 2019, 11:59 AM
btutzer raised a concern with R20:fb3a26551f89: Implement tuple values in the deluxe interface.

This commit introduces some doxygen warnings during the build:

May 3 2019, 11:40 AM
btutzer accepted R20:3e6fe06d97aa: Implement DeluxeExecutionPolicy Ref T136.
May 3 2019, 11:16 AM

May 2 2019

btutzer requested verification of R20:a94537b537bb: Implemented RangeConfidence.

Addressed in 7d93f54bc66c

May 2 2019, 4:39 PM
btutzer requested verification of R20:cb3a24c0eeae: RangeAbstractions now abstract to Maps from identifiers to values instead of….

Addressed in 783f8c48d55e

May 2 2019, 4:37 PM
btutzer accepted R20:6bae1d597bb1: Rename doExecute() to shouldProcess() in DeluxeExecutionPolicy.

Thanks!

May 2 2019, 4:33 PM
btutzer requested verification of R20:d790ae472808: Included new directory in documentation..

Addressed in e5af743a80c7

May 2 2019, 4:32 PM
btutzer committed R20:e5af743a80c7: Fix d790ae472808.
Fix d790ae472808
May 2 2019, 4:31 PM
btutzer committed R20:783f8c48d55e: Abstractions can now tell wether they fall back to default at a given position..
Abstractions can now tell wether they fall back to default at a given position.
May 2 2019, 4:29 PM
btutzer requested verification of R20:d790ae472808: Included new directory in documentation..

Addressed in R20:d46823eed74d894f03c0311971b2187463e16c84

May 2 2019, 3:46 PM
btutzer committed R20:d46823eed74d: Removed link from Libraries, as it points to an irrelevant section.
Removed link from Libraries, as it points to an irrelevant section
May 2 2019, 3:45 PM
btutzer added a comment to R20:3e6fe06d97aa: Implement DeluxeExecutionPolicy Ref T136.

What do you think about shouldProcess? I find it a good descriptive function name: it tells whether processing should be done with respect to the parameters.

shouldProcess sounds good! Thanks!

May 2 2019, 3:43 PM
btutzer added a comment to R20:3e6fe06d97aa: Implement DeluxeExecutionPolicy Ref T136.

Nitpick, but I do not like the doExecute function name. I would expect that such a function would really do something (have a side-effect). I think check or checkPending or something like that would me more appropriate.

May 2 2019, 3:21 PM
btutzer added 1 auditor(s) for R20:e926230c6419: Added link to example usage in doc: juhasz.
May 2 2019, 2:58 PM
btutzer committed R20:e926230c6419: Added link to example usage in doc.
Added link to example usage in doc
May 2 2019, 2:57 PM
btutzer updated subscribers of R20:cb3a24c0eeae: RangeAbstractions now abstract to Maps from identifiers to values instead of….
May 2 2019, 2:40 PM
btutzer updated subscribers of R20:cb3a24c0eeae: RangeAbstractions now abstract to Maps from identifiers to values instead of….

@goetzinger RangeConfidence now returns Maps as agreed upon in todays meeting.

May 2 2019, 2:36 PM
btutzer committed R20:cb3a24c0eeae: RangeAbstractions now abstract to Maps from identifiers to values instead of….
RangeAbstractions now abstract to Maps from identifiers to values instead of…
May 2 2019, 2:33 PM
btutzer added 1 auditor(s) for R20:d790ae472808: Included new directory in documentation.: juhasz.
May 2 2019, 1:40 PM
btutzer committed R20:d790ae472808: Included new directory in documentation..
Included new directory in documentation.
May 2 2019, 1:39 PM
btutzer committed R20:79c85214519c: Init all submodules on build.
Init all submodules on build
May 2 2019, 1:39 PM
btutzer committed R20:275473427d08: Better documentation of build-flag removal for cxxopts.
Better documentation of build-flag removal for cxxopts
May 2 2019, 1:30 PM
btutzer accepted R20:00d326ff0959: Make RoSA build with MSVC.
May 2 2019, 1:27 PM
btutzer added a comment to R20:00d326ff0959: Make RoSA build with MSVC.

Everything works fine with clang 5.

clang 5 is also not available from most current repositories though.

May 2 2019, 1:26 PM
btutzer committed R20:0a23108954bb: undo accidental changes.
undo accidental changes
May 2 2019, 12:21 PM

Apr 30 2019

btutzer added a comment to R20:10223b8026b1: Added remove function.

@btutzer, why did you change the required C++ standard to C++14?

Apr 30 2019, 7:14 PM
btutzer added 1 auditor(s) for R20:fab2d2aee2da: Automatically init submodule cxxopts on build: juhasz.

Please have a look at the whole branch. More or less it's just copied and pasted from T108#1906 though.
I added some lines in modules/CMakeLists.txt to make sure the submodule is initialized before the build. If not, not even cmake itself would successfully configure since there is no CMakeLists.txt in modules/cxxopts/ before submodule initialization.
If you approve, I will merge this into master.

Apr 30 2019, 4:43 PM
btutzer committed R20:fab2d2aee2da: Automatically init submodule cxxopts on build.
Automatically init submodule cxxopts on build
Apr 30 2019, 4:39 PM
btutzer committed R20:bf31117598bd: Also allow dinamic casts and typeid for modules (as cxxopts uses them).
Also allow dinamic casts and typeid for modules (as cxxopts uses them)
Apr 30 2019, 4:23 PM
btutzer committed R20:10223b8026b1: Added remove function.
Added remove function
Apr 30 2019, 4:23 PM
btutzer committed R20:0d15a2fafb6e: Added support for modules to be placed in the modules directory Added cxxopts….
Added support for modules to be placed in the modules directory Added cxxopts…
Apr 30 2019, 4:10 PM
btutzer committed R20:c43f83910095: Allow exceptions for tools and apps.
Allow exceptions for tools and apps
Apr 30 2019, 4:10 PM
btutzer raised a concern with R20:43f9eab48272: adapded to Benedikts Linear Function s.

I see that you are accepting raw pointers as input to addCrossReliabilityProfile and expect them to be uniquely owned by the module. I made the same mistake (actually mine was a lot worse since I did not delete them in the destructor), but agree with @juhasz that it is bad practice. Can you move to std::uniqe_ptr's/std::shared_ptr's?

Apr 30 2019, 3:25 PM
btutzer raised a concern with R20:bb607dfb87d8: added a semi implementation.

Hi,
I saw that you are doing many sanity checks on the template types inside methods, like

static_assert(std::is_arithmetic<Type>::value); // sanitny check

I think it would be better to do this once per template instead to improve readability.

Apr 30 2019, 3:19 PM
btutzer committed R20:bf9e6af9b956: Renamed LinearFunctions to FunctionAbstractions and extracted RangeConfidence….
Renamed LinearFunctions to FunctionAbstractions and extracted RangeConfidence…
Apr 30 2019, 2:52 PM
btutzer updated subscribers of R20:7d93f54bc66c: Moved from raw pointers to std::shared_ptr's..

@dschnoell When we talked yesterday I noticed you are using some of these new functionalities. I think you were only using LinearFunction's, but in case you are using PartialFuncion or RangeConfidence as well, please note that the interface changed.

Apr 30 2019, 10:21 AM
btutzer committed R20:7d93f54bc66c: Moved from raw pointers to std::shared_ptr's..
Moved from raw pointers to std::shared_ptr's.
Apr 30 2019, 10:17 AM

Apr 27 2019

btutzer added a comment to R20:a94537b537bb: Implemented RangeConfidence.

Raw pointers are used in PartialFunction::RA, but RangeAbstraction destructs the stored values directly (i.e., the pointers only in this case). This causes memory leak.

I do not see immediately if there is a need for using pointers there... I would consider storing the values directly instead of pointers.
If using pointers is motivated, some kind of smart pointer would work better (e.g., std::shared_ptr).

Apr 27 2019, 10:48 AM

Apr 26 2019

btutzer committed R20:c876d21acdea: Merge branch 'master' of ssh://phabricator.ict.tuwien.ac..
Merge branch 'master' of ssh://phabricator.ict.tuwien.ac.
Apr 26 2019, 2:21 PM
btutzer committed R20:8471929eb545: Coding style fixes.
Coding style fixes
Apr 26 2019, 2:20 PM
btutzer added 2 auditor(s) for R20:a94537b537bb: Implemented RangeConfidence: juhasz, goetzinger.
Apr 26 2019, 1:29 PM
btutzer committed R20:a94537b537bb: Implemented RangeConfidence.
Implemented RangeConfidence
Apr 26 2019, 1:07 PM

Apr 10 2019

btutzer raised a concern with R20:00d326ff0959: Make RoSA build with MSVC.

I noticed I cannot build anymore due to this change.
Since no C++17 features are actually used I do not think it is a good strategy to require it. Many linux distributions do not have clang-7 available from repositories, so support for C++17 is still scarse. Is there no other way to achieve VS compatibility with c++14?
If I build with c++17 and clang-7, I run into the following error:
/usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/tuple:115:17: error: reference member '_M_head_impl' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
The same source builds fine with C++14 and clang-4.0

Apr 10 2019, 12:01 PM

Jan 8 2019

btutzer committed R20:02f6a38ca4b5: forgotten in previous commit.
forgotten in previous commit
Jan 8 2019, 12:19 PM
btutzer committed R20:4323f93811a3: Added header config.h that contains most configurations needed for CAM. Make….
Added header config.h that contains most configurations needed for CAM. Make…
Jan 8 2019, 10:47 AM

Dec 17 2018

btutzer committed R20:e4598f54131b: Merge branch 'RoSA_CAM_dirtyInclude' of ssh://phabricator.ict.tuwien.ac..
Merge branch 'RoSA_CAM_dirtyInclude' of ssh://phabricator.ict.tuwien.ac.
Dec 17 2018, 2:46 PM
btutzer committed R20:f400bb1b64a6: Changed main_OMV to be more flexible. Use arrays instead of 7 variables for….
Changed main_OMV to be more flexible. Use arrays instead of 7 variables for…
Dec 17 2018, 2:46 PM