Commit 0dc06988 authored by Daniel Le Berre's avatar Daniel Le Berre
Browse files

Improve Javadoc.

parent 46291e4d
Pipeline #797 failed with stages
in 2 minutes and 35 seconds
...@@ -166,9 +166,16 @@ public abstract class Reader { ...@@ -166,9 +166,16 @@ public abstract class Reader {
/** /**
* Produce a model using the reader format. * Produce a model using the reader format.
* *
* Note that the approach of building a string representation of the model
* may be quite inefficient when the model is rather large. For that reason,
* the preferred way to proceed is to directly output the textual
* representation in a specific PrintWriter using
* {@link #decode(int[], PrintWriter)}
*
* @param model * @param model
* a model using the Dimacs format. * a model using the Dimacs format.
* @return a human readable view of the model. * @return a human readable view of the model.
* @see #decode(int[], PrintWriter)
*/ */
@Deprecated @Deprecated
public abstract String decode(int[] model); public abstract String decode(int[] model);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment