<feed xmlns='http://www.w3.org/2005/Atom'>
<title>latticematch/angleset.cpp, branch master</title>
<subtitle>Small script to calculate Lattice Matches</subtitle>
<id>https://git.grois.info/latticematch/atom/angleset.cpp?h=master</id>
<link rel='self' href='https://git.grois.info/latticematch/atom/angleset.cpp?h=master'/>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/'/>
<updated>2015-11-27T10:02:12Z</updated>
<entry>
<title>Angleset: Change add behaviour to not run combine()</title>
<updated>2015-11-27T10:02:12Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-27T10:02:12Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=77618b3511ee5edb6509902126293a084f9767bf'/>
<id>urn:sha1:77618b3511ee5edb6509902126293a084f9767bf</id>
<content type='text'>
The most often used command for angleset in this tool is the add function. If at the end of every add the combine() function is being called, a lot of CPU time is wasted.
Add now doesn't call combine(), and marks the angleset as dirty instead. All functions that require a clean angleset now check if it's dirty, and if yes call combine().
</content>
</entry>
<entry>
<title>Add angle sets (disjoint ranges) - initial support</title>
<updated>2015-11-10T12:39:56Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-10T12:39:56Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=fc46d20e8411fe4b67269733f69d8a9dded4a42f'/>
<id>urn:sha1:fc46d20e8411fe4b67269733f69d8a9dded4a42f</id>
<content type='text'>
By adding a new angleset class, things get much easier to read. Also, the part of the previous commit that dealt with combining the individual ranges was kind of stupid.
Things missing:
o) functions to remove angle ranges from a set
o) deferred add functions, that allow adding multiple ranges without calling the O(n²) function angleset::combine() in between.
</content>
</entry>
</feed>
