Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am looking for an implementation of the Rabin Hash Function in Java, Can anyone recommend a fast library?
Update:
I've just tested the library here.
It takes ~2200ms to hash 1mm random urls on my 2GHz processor.
This is certainly good enough for my needs, however I will test another library when I get a monent and post the results here.
Here's my Java implementation.
http://code.google.com/p/rabinfingerprint/
It also includes arbitrarily large irreducible polynomials (using BigIntegers).
I've not used it myself, but you can try the Rabin Hash Function project on Source Forge.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I would like to use a 0-1 integer programming solver as a tool in a java program. I cannot find anything easy to use on the web. I tried the pseudo-boolean library from sat4j but this is not well documented, some classes are not consistent with their description in the API (some methods signature are different).
Would you have any suggestion?
GLPK, open-source package for LP and (mixed) ILP has Java binding.
Another open-source solvers are lp_solve (Java API) and SCIP.
There are also commercial solvers - CPLEX, GUROBI and Mosek, all with Java interface.
Btw. for my homeworks, I found Python and PuLP a bit easier to work with :)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have tried to find tutorials about encryption based purely on own developed code.
For example in Java you have the javax.crypto package, in C# you have the Windows.Security.Cryptography dll. However I am trying to find a tutorial how to encrypt data with bits/bytes without using predefined classes/dll.
Does anyone know where and if there are such tutorials?
It is very unwise to develop your own encryption algorithms. It might be useful only as a school exercise. Otherwise it could be dangerous!
However, if you really have to do it on your own, have a look at some existing source code as inspiration:
https://www.bouncycastle.org/
or read the technical specification of the cipher you want to implement, AES for example:
http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I want to develop a small application in JAVA, for personal use, that solves the derivatives and integrals. Can you tell me some good library to do this, and some example?
Thanks
Commons Math contains the ability to integrate using different methods - see here, section 4.5. The example here shows you how to use the TrapezoidIntegrator, the others work pretty much in the same way.
SO post
Library reference hosted on google code.You can also use JLink with Mathematica to send your calculations part to mathematica and get appropriate results back.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to implement an algorithm that needs to use a hash tree. What are some good, easy-to-understand Java hash tree implementations? Are there books, websites or PDFs on the Internet that give a good explanation on how a hash tree works and how I could implement it?
Yes, there's a Java implementation of hash tree here:
http://jmeter.apache.org/api/org/apache/jorphan/collections/HashTree.html
There's an explanation here:
http://www.google.com/url?sa=t&rct=j&q=java%20hash%20tree&source=web&cd=17&ved=0CFUQFjAGOAo&url=http%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fdownload%3Fdoi%3D10.1.1.21.6279%26rep%3Drep1%26type%3Dpdf&ei=tQijTrvMIOTb0QHRxIyBBQ&usg=AFQjCNGTjFqUeqzT8ldQQComx24SF4Z0ow
Google is your friend.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
what is the best Java library for manipulating graphs (specifically, for social network analysis)? I've seen Jung, but I was wondering if you knew anything better (I don't need to visualize networks, only computation).
Thank you
I've found jgrapht pretty useful - it has all the major algorithms (e.g. Bellman-Ford, ...)
neo4j is the choice
And here is a video
If you are aiming for high efficiency
http://grph.inria.fr/