Subject | Hash | Author | Date (UTC) |
---|---|---|---|
shell: use query() method of the convex hull | 321a3fab33684cb9bef3c2344200c6519b595bb0 | I am | 2023-01-03 15:54:45 |
convex_hull.QHull: implement query() method. Use myshovskych sheme as fallback | bc79a6fbee4d488211bf55c88702f39a0126be1b | I am | 2023-01-03 15:53:00 |
dicebox.circumtri: handle singular matrix error of CircumCenter | 8207789777268039e7a866a594191063c6429c04 | I am | 2023-01-02 23:56:40 |
simplex.CubatureIntegration: check for non-finite simplex volumes | 3a1473c7452c7dc3a9299ed88520412eb31924c1 | I am | 2023-01-02 22:51:14 |
dicebox.circumtri: return to psi potential | 9db1f5b0e412ae871ae5f5fbb5ff214a8ddd7f45 | I am | 2023-01-02 22:20:28 |
dicebox.circumtri: bughunting | 5f9d2b9e4d8077c9e4552d47bf1da789d8cfbcf8 | I am | 2022-12-29 15:02:14 |
dicebox.circumtri: process filtered integration nodes as candidates too | 315e2f9700d93f1379985dafa818b44df53422a2 | I am | 2022-12-29 13:51:52 |
dicebox.circumtri: return back weighted entropy | 0424243e29a600ecb1d046631badbc9797e11369 | I am | 2022-12-28 19:11:30 |
qt_gui.qt_graph_widgets: reflect renewed simplex estimators | 90c83c7c7e6e58d6b9044db1a5e55f9a8a7dd7cd | I am | 2022-12-28 16:15:40 |
dicebox: rework CircumTri | e360b2f092c11a42b5ac1081061f2891bff3d8de | I am | 2022-12-28 15:52:28 |
simplex: make _Triangulation more clean; rework CubatureIntegration | fb7dd9fef8592944fbd93a3f07b44c2355d45e20 | I am | 2022-12-28 15:48:20 |
introduce shell module, clean version of ghull | b13e9b2b15d109770e0c3fbdd5bb7b2a3b5bf5fc | I am | 2022-12-28 15:45:27 |
qt_gui.qt_plot.CandidatesWidget: regression fix | a75874b5a53e7b420672b582f3ff415b17a32e9b | I am | 2022-12-23 12:19:51 |
qt_gui.qt_pairwise.ContactWidget: add mask function | 6f88fec7db92e5cd21826a06f42a609a3e03cb6b | I am | 2022-12-21 15:20:01 |
qt_gui.qt_pairwise.ContactWidget: add option for mixed pairs only adjacency search. | 2f87e8a18908de607b8abc0779448ca3095c134c | I am | 2022-12-21 14:30:23 |
qt_gui.qt_dicebox: reflect changes in CircumTri class | 9821d389240a383f0b13b7dd92cd501e1c40c537 | I am | 2022-12-15 09:36:16 |
dicebox.circumtri: employ _Exploration class. Keep naive CircumTri class in renamed module | b8605fb24d55b3296ceac34afba541a5b7ee3070 | I am | 2022-12-15 09:33:59 |
convex_hull.QHull.get_exploration_vector: self -> hull fix | dae47ef37b5871a98d2ea274cc35aeb2a4eebe1c | I am | 2022-12-15 09:30:31 |
qt_gui/qt_dicebox: add DumpExplorationWidget | b687895f06c780418a12eea59bd052ad7cd348f3 | I am | 2022-12-15 01:31:14 |
dicebox: add helper _exploration module | 836ae6cd12f1a04f1e2fc3423e46777d16ebad7d | I am | 2022-12-15 01:30:20 |
File | Lines added | Lines deleted |
---|---|---|
wellmet/shell.py | 3 | 3 |
File wellmet/shell.py changed (mode: 100644) (index d4c45fd..935e845) | |||
... | ... | class Shell_1DS: | |
125 | 125 | nodes = self.hull.sample.f_model.new_sample(nodes_G, space='G') | nodes = self.hull.sample.f_model.new_sample(nodes_G, space='G') |
126 | 126 | ||
127 | 127 | # who is back? | # who is back? |
128 | d = self.hull.get_hyperplane_distances(nodes) | ||
128 | d, i = self.hull.query(nodes) | ||
129 | 129 | mask = d > 0 | mask = d > 0 |
130 | 130 | assert len(mask) == seats | assert len(mask) == seats |
131 | 131 | ||
... | ... | class Shell_1DS: | |
135 | 135 | ||
136 | 136 | if callback_all is not None: | if callback_all is not None: |
137 | 137 | # -2 = 'inside' -1 = 'outside' | # -2 = 'inside' -1 = 'outside' |
138 | candy_nodes = CandyNodes(nodes, event_id=mask-2, is_outside=mask, d=d) | ||
138 | candy_nodes = CandyNodes(nodes, event_id=mask-2, is_outside=mask, d=d, i=i) | ||
139 | 139 | callback_all(candy_nodes) | callback_all(candy_nodes) |
140 | 140 | ||
141 | 141 | if (callback_outside is not None) and np.any(mask): | if (callback_outside is not None) and np.any(mask): |
142 | callback_outside(nodes[mask], d[mask]) | ||
142 | callback_outside(nodes[mask], d[mask], i[mask]) | ||
143 | 143 | ||
144 | 144 | ||
145 | 145 |