Java N-Dimensional Sparse Matrix

混江龙づ霸主 提交于 2019-12-24 07:24:08

问题


I have a 4-dimensional huge sparse matrix and I need to know the best data structure to manage my information using Java.

I read from this topic Sparse matrices / arrays in Java and it says that Tries is better than Hash Tables when matrix is so formatted. Unluckly the most authoritative answer talks about 2D-dimension matrices and I haven't found anything about N-dimensional ones.

Thank you in advance for your reply

来源:https://stackoverflow.com/questions/29379577/java-n-dimensional-sparse-matrix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!