Die Suche ergab 7 Treffer

von HerrmannIV
7. Mär 2019 14:37
Forum: Software Engineering - Design and Construction
Thema: Summer Term 2019
Antworten: 2
Zugriffe: 123

Summer Term 2019

Hi,
I was searching for the Lecture in TUCaN, but cant find it.
Is it going to take place, or ...?
Thanks in Advance.
von HerrmannIV
15. Jan 2019 00:05
Forum: Konzepte der Programmiersprachen
Thema: Exercise-01 Solution
Antworten: 3
Zugriffe: 113

Re: Exercise-01 Solution

Hi,
It bascially is like
"if l is a list built like x :: xs then sum(l) = x + sum(xs)", where x is head (i.e. first element of l) and xs is tail (i.e. the remaining elements, as a list, of l)
I hope i am still making sense at that time ;) Does that answer your question?
BG
von HerrmannIV
29. Nov 2018 17:23
Forum: Konzepte der Programmiersprachen
Thema: Assignment 5, Task 1, eval-function
Antworten: 2
Zugriffe: 102

Assignment 5, Task 1, eval-function

Hi, after importing the assignment 5 template into IntelliJ, the tests are not able to run, as the eval-method, which is used in every test of Task1Test.scala, is written in a comment in Task1.scala, line 35. Is it OK to uncomment that method or did I get something wrong? And is there any special re...
von HerrmannIV
22. Nov 2018 09:56
Forum: Konzepte der Programmiersprachen
Thema: Assignment 1, Task 1, 'non-trivial'
Antworten: 2
Zugriffe: 155

Assignment 1, Task 1, 'non-trivial'

Hi,
I wanted to ask why head::tail is trivial, wheras init and last are non-trivial.
Looking at the Scala Documentation, https://www.scala-lang.org/api/2.12.x/s ... /List.html I don't really see a difference in their triviality.
Thanks in advance.
von HerrmannIV
16. Nov 2018 11:23
Forum: Konzepte der Programmiersprachen
Thema: Assignment 03 - Task 3 and 4 mixed up
Antworten: 3
Zugriffe: 205

Re: Assignment 03 - Task 3 and 4 mixed up

So just to be clear:

The implementation of Task3[assignment-sheet] gets done in Task4[project-file], and Task4[assignment-sheet] gets done in Task3[project-file], right?

Thanks in advance
von HerrmannIV
13. Nov 2017 23:23
Forum: Software Engineering - Design and Construction
Thema: Exercise 2 Task 1
Antworten: 12
Zugriffe: 1848

Re: Exercise 2 Task 1

I think it would have been a lot better to implement the linearization as a binary tree. A Node contains a classname, a "with"-child and an "extends" child. node(string: name, node: extends, node: with) E extends A with B would become: node( "E", node("A", null, null), //extends node("B", null, null...
von HerrmannIV
20. Jun 2013 21:11
Forum: Archiv
Thema: P5: Wie oft muss es funktionieren?
Antworten: 1
Zugriffe: 266

P5: Wie oft muss es funktionieren?

Moinmoin Folgendes Problem: insertPoint() funktioniert bei mir nicht "unendlich" oft. Anscheinend versagt die Funktion sobald die Triangulation eine gewisse Größe erreicht hat. Dann passiert nichtsmehr, außer massiger Speicher- und Prozessorauslastung. Ist das okay so, bzw falls nicht: an was könnte...

Zur erweiterten Suche