> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SolveGraphRequest

> SolveGraphRequest — Kinetica Java API

<div className="kinetica-javadoc">
  <div className="header">
    <div className="sub-title"><span className="package-label-in-type">Package</span> <a href="/content/api/java/com/gpudb/protocol/package-summary">com.gpudb.protocol</a></div>
    <h1 title="Class SolveGraphRequest" className="title">Class SolveGraphRequest</h1>
  </div>

  <div className="inheritance" title="Inheritance Tree">
    <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">java.lang.Object</a>
    <div className="inheritance">com.gpudb.protocol.SolveGraphRequest</div>
  </div>

  <div className="section class-description" id="class-description">
    <div className="dl notes">
      <div className="dt">All Implemented Interfaces:</div>
      <div className="dd"><code>org.apache.avro.generic.GenericContainer</code>, <code>org.apache.avro.generic.IndexedRecord</code></div>
    </div>

    <hr />

    <div className="type-signature"><span className="modifiers">public class </span><span className="element-name type-name-label">SolveGraphRequest</span> <span className="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> implements org.apache.avro.generic.IndexedRecord</span></div>

    <div className="block">
      A set of parameters for <a href="/content/api/java/com/gpudb/GPUdb#solveGraph(com.gpudb.protocol.SolveGraphRequest)"><code>GPUdb.solveGraph</code></a>.
      <p> Solves an existing graph for a type of problem (e.g., shortest path, page rank, traveling salesman, etc.) using source nodes, destination nodes, and additional, optional weights and restrictions. </p>
      <p> IMPORTANT: It's highly recommended that you review the <a href="/content/graph_solver/network_graph_solver/" target="_top">Graphs and Solvers</a> concepts documentation, the <a href="/content/guides/graph_rest_guide/" target="_top">Graph REST Tutorial</a>, and/or some <a href="/content/guides/tags/graph-solve" target="_top">/solve/graph examples</a> before using this endpoint.</p>
    </div>
  </div>

  <div className="section summary">
    <ul className="summary-list">
      <li>
        <div className="section nested-class-summary" id="nested-class-summary">
          <h2>Nested Class Summary</h2>
          <div className="caption"><span>Nested Classes</span></div>

          <div className="summary-table three-column-summary">
            <div className="table-header col-first">Modifier and Type</div>
            <div className="table-header col-second">Class</div>
            <div className="table-header col-last">Description</div>
            <div className="col-first even-row-color"><code>static final class </code></div>
            <div className="col-second even-row-color"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options" className="type-name-link" title="class in com.gpudb.protocol">SolveGraphRequest.Options</a></code></div>

            <div className="col-last even-row-color">
              <div className="block">A set of string constants for the <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol"><code>SolveGraphRequest</code></a> parameter <a href="#getOptions()"><code>options</code></a>.</div>
            </div>

            <div className="col-first odd-row-color"><code>static final class </code></div>
            <div className="col-second odd-row-color"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType" className="type-name-link" title="class in com.gpudb.protocol">SolveGraphRequest.SolverType</a></code></div>

            <div className="col-last odd-row-color">
              <div className="block">A set of string constants for the <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol"><code>SolveGraphRequest</code></a> parameter <a href="#getSolverType()"><code>solverType</code></a>.</div>
            </div>
          </div>
        </div>
      </li>

      <li>
        <div className="section constructor-summary" id="constructor-summary">
          <h2>Constructor Summary</h2>
          <div className="caption"><span>Constructors</span></div>

          <div className="summary-table two-column-summary">
            <div className="table-header col-first">Constructor</div>
            <div className="table-header col-last">Description</div>
            <div className="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" className="member-name-link">SolveGraphRequest</a>()</code></div>

            <div className="col-last even-row-color">
              <div className="block">Constructs a SolveGraphRequest object with default parameters.</div>
            </div>

            <div className="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.lang.String,java.util.List,java.util.List,java.lang.String,java.util.List,java.util.List,java.lang.String,java.util.Map)" className="member-name-link">SolveGraphRequest</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> graphName, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> weightsOnEdges, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> restrictions, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solverType, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> sourceNodes, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> destinationNodes, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solutionTable, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</code></div>

            <div className="col-last odd-row-color">
              <div className="block">Constructs a SolveGraphRequest object with the specified parameters.</div>
            </div>
          </div>
        </div>
      </li>

      <li>
        <div className="section method-summary" id="method-summary">
          <h2>Method Summary</h2>

          <div id="method-summary-table">
            <div className="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabIndex="0" className="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabIndex="-1" className="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabIndex="-1" className="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabIndex="-1" className="table-tab">Concrete Methods</button></div>

            <div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0">
              <div className="summary-table three-column-summary">
                <div className="table-header col-first">Modifier and Type</div>
                <div className="table-header col-second">Method</div>
                <div className="table-header col-last">Description</div>
                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#equals(java.lang.Object)" className="member-name-link">equals</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> obj)</code></div>
                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#get(int)" className="member-name-link">get</a><wbr />(int index)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static org.apache.avro.Schema</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getClassSchema()" className="member-name-link">getClassSchema</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a><wbr />\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDestinationNodes()" className="member-name-link">getDestinationNodes</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for destination (target) nodes.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getGraphName()" className="member-name-link">getGraphName</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Name of the graph resource to solve.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a><wbr />\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOptions()" className="member-name-link">getOptions</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Additional parameters.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a><wbr />\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRestrictions()" className="member-name-link">getRestrictions</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Additional restrictions to apply to the nodes/edges of an existing graph.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>org.apache.avro.Schema</code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSchema()" className="member-name-link">getSchema</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolutionTable()" className="member-name-link">getSolutionTable</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Name of the table to store the solution, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSolverType()" className="member-name-link">getSolverType</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">The type of solver to use for the graph.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a><wbr />\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSourceNodes()" className="member-name-link">getSourceNodes</a>()</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for source nodes.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a><wbr />\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getWeightsOnEdges()" className="member-name-link">getWeightsOnEdges</a>()</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Additional weights to apply to the edges of an existing graph.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hashCode()" className="member-name-link">hashCode</a>()</code></div>
                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#put(int,java.lang.Object)" className="member-name-link">put</a><wbr />(int index, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> value)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDestinationNodes(java.util.List)" className="member-name-link">setDestinationNodes</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> destinationNodes)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for destination (target) nodes.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setGraphName(java.lang.String)" className="member-name-link">setGraphName</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> graphName)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Name of the graph resource to solve.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOptions(java.util.Map)" className="member-name-link">setOptions</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Additional parameters.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRestrictions(java.util.List)" className="member-name-link">setRestrictions</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> restrictions)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Additional restrictions to apply to the nodes/edges of an existing graph.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolutionTable(java.lang.String)" className="member-name-link">setSolutionTable</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solutionTable)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Name of the table to store the solution, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSolverType(java.lang.String)" className="member-name-link">setSolverType</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solverType)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">The type of solver to use for the graph.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSourceNodes(java.util.List)" className="member-name-link">setSourceNodes</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> sourceNodes)</code></div>

                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for source nodes.</div>
                </div>

                <div className="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></code></div>
                <div className="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setWeightsOnEdges(java.util.List)" className="member-name-link">setWeightsOnEdges</a><wbr />(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> weightsOnEdges)</code></div>

                <div className="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
                  <div className="block">Additional weights to apply to the edges of an existing graph.</div>
                </div>

                <div className="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></code></div>
                <div className="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" className="member-name-link">toString</a>()</code></div>
                <div className="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
              </div>
            </div>
          </div>

          <div className="inherited-list">
            <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></h3>
            <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" className="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" className="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" className="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" className="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" className="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" className="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" className="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" className="external-link">wait</a></code>
          </div>
        </div>
      </li>
    </ul>
  </div>

  <div className="section details">
    <ul className="details-list">
      <li>
        <div className="section constructor-details" id="constructor-detail">
          <h2>Constructor Details</h2>

          <ul className="member-list">
            <li>
              <div className="section detail" id="<init>()">
                <h3>SolveGraphRequest</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">SolveGraphRequest</span>()</div>
                <div className="block">Constructs a SolveGraphRequest object with default parameters.</div>
              </div>
            </li>

            <li>
              <div className="section detail" id="<init>(java.lang.String,java.util.List,java.util.List,java.lang.String,java.util.List,java.util.List,java.lang.String,java.util.Map)">
                <h3>SolveGraphRequest</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="element-name">SolveGraphRequest</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> graphName, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> weightsOnEdges, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> restrictions, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solverType, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> sourceNodes, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> destinationNodes, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solutionTable, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span></div>
                <div className="block">Constructs a SolveGraphRequest object with the specified parameters.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>graphName</code> - Name of the graph resource to solve.</div>
                  <div className="dd"><code>weightsOnEdges</code> - Additional weights to apply to the edges of an existing graph. Weights must be specified using <a href="/content/graph_solver/network_graph_solver/#identifiers" target="_top">identifiers</a>; identifiers are grouped as <a href="/content/graph_solver/network_graph_solver/#id-combos" target="_top">combinations</a>. Identifiers can be used with existing column names, e.g., 'table.column AS WEIGHTS\_EDGE\_ID', expressions, e.g., 'ST\_LENGTH(wkt) AS WEIGHTS\_VALUESPECIFIED', or constant values, e.g., '{"{"}4, 15, 2{"}"} AS WEIGHTS\_VALUESPECIFIED'. Any provided weights will be added (in the case of 'WEIGHTS\_VALUESPECIFIED') to or multiplied with (in the case of 'WEIGHTS\_FACTORSPECIFIED') the existing weight(s). If using constant values in an identifier combination, the number of values specified must match across the combination. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>
                  <div className="dd"><code>restrictions</code> - Additional restrictions to apply to the nodes/edges of an existing graph. Restrictions must be specified using <a href="/content/graph_solver/network_graph_solver/#identifiers" target="_top">identifiers</a>; identifiers are grouped as <a href="/content/graph_solver/network_graph_solver/#id-combos" target="_top">combinations</a>. Identifiers can be used with existing column names, e.g., 'table.column AS RESTRICTIONS\_EDGE\_ID', expressions, e.g., 'column/2 AS RESTRICTIONS\_VALUECOMPARED', or constant values, e.g., '{"{"}0, 0, 0, 1{"}"} AS RESTRICTIONS\_ONOFFCOMPARED'. If using constant values in an identifier combination, the number of values specified must match across the combination. If remove\_previous\_restrictions option is set to true, any provided restrictions will replace the existing restrictions. Otherwise, any provided restrictions will be added (in the case of 'RESTRICTIONS\_VALUECOMPARED') to or replaced (in the case of 'RESTRICTIONS\_ONOFFCOMPARED'). The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                  <div className="dd">
                    <code>solverType</code> - The type of solver to use for the graph. Supported values:

                    <ul>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a>: Solves for the optimal (shortest) path based on weights and restrictions from one source to destinations nodes. Also known as the Dijkstra solver. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a>: Solves for the probability of each destination node being visited based on the links of the graph topology. Weights are not required to use this solver. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PROBABILITY_RANK"><code>PROBABILITY\_RANK</code></a>: Solves for the transitional probability (Hidden Markov) for each node based on the weights (probability assigned over given edges). </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CENTRALITY"><code>CENTRALITY</code></a>: Solves for the degree of a node to depict how many pairs of individuals that would have to go through the node to reach one another in the minimum number of hops. Also known as betweenness. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a>: Solves for finding the minimum cost cumulative path for a round-trip starting from the given source and visiting each given destination node once then returning to the source. Also known as the traveling salesman problem. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a>: Solves for finding the optimal path cost for each destination node to route to the source node. Also known as inverse Dijkstra or the service man routing problem. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>: Solves for optimal routes that connect remote asset nodes to the fixed (backbone) asset nodes. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>: Solves for paths that would give costs between max and min solution radia - Make sure to limit by the 'max\_solution\_targets' option. Min cost should be >= shortest\_path cost. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#STATS_ALL"><code>STATS\_ALL</code></a>: Solves for graph statistics such as graph diameter, longest pairs, vertex valences, topology numbers, average and max cluster sizes, etc. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CLOSENESS"><code>CLOSENESS</code></a>: Solves for the centrality closeness score per node as the sum of the inverse shortest path costs to all nodes in the graph. </li>
                    </ul>

                    The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a>.
                  </div>

                  <div className="dd"><code>sourceNodes</code> - It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for source nodes. For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>, this list depicts the fixed assets. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>
                  <div className="dd"><code>destinationNodes</code> - It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for destination (target) nodes. For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>, this list depicts the remote assets. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>
                  <div className="dd"><code>solutionTable</code> - Name of the table to store the solution, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. The default value is 'graph\_solutions'.</div>

                  <div className="dd">
                    <code>options</code> - Additional parameters.

                    <ul>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_RADIUS"><code>MAX\_SOLUTION\_RADIUS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Sets the maximum solution cost radius, which ignores the <code>destinationNodes</code> list and instead outputs the nodes within the radius sorted by ascending cost. If set to '0.0', the setting is ignored. The default value is '0.0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MIN_SOLUTION_RADIUS"><code>MIN\_SOLUTION\_RADIUS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Applicable only when <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_RADIUS"><code>MAX\_SOLUTION\_RADIUS</code></a> is set. Sets the minimum solution cost radius, which ignores the <code> destinationNodes</code> list and instead outputs the nodes within the radius sorted by ascending cost. If set to '0.0', the setting is ignored. The default value is '0.0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_TARGETS"><code>MAX\_SOLUTION\_TARGETS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Sets the maximum number of solution targets, which ignores the <code>destinationNodes</code> list and instead outputs no more than n number of nodes sorted by ascending cost where n is equal to the setting value. If set to 0, the setting is ignored. The default value is '1000'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#UNIFORM_WEIGHTS"><code>UNIFORM\_WEIGHTS</code></a>: When specified, assigns the given value to all the edges in the graph. Note that weights provided in <code>weightsOnEdges</code> will override this value. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#LEFT_TURN_PENALTY"><code>LEFT\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'left turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#RIGHT_TURN_PENALTY"><code>RIGHT\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as' right turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#INTERSECTION_PENALTY"><code>INTERSECTION\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'intersection' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SHARP_TURN_PENALTY"><code>SHARP\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'sharp turn' or 'u-turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NUM_BEST_PATHS"><code>NUM\_BEST\_PATHS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a> solvers only; sets the number of shortest paths computed from each node. This is the heuristic criterion. Default value of zero allows the number to be computed automatically by the solver. The user may want to override this parameter to speed-up the solver. The default value is '0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_NUM_COMBINATIONS"><code>MAX\_NUM\_COMBINATIONS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a> solvers only; sets the cap on the combinatorial sequences generated. If the default value of two millions is overridden to a lesser value, it can potentially speed up the solver. The default value is '2000000'. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_EDGE_PATH"><code>OUTPUT\_EDGE\_PATH</code></a>: If true then concatenated edge IDs will be added as the EDGE path column of the solution table for each source and target pair in shortest path solves. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_WKT_PATH"><code>OUTPUT\_WKT\_PATH</code></a>: If true then concatenated wkt line segments will be added as the Wktroute column of the solution table for each source and target pair in shortest path solves. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a> </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a> </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SERVER_ID"><code>SERVER\_ID</code></a>: Indicates which graph server(s) to send the request to. Default is to send to the server, amongst those containing the corresponding graph, that has the most computational bandwidth. For SHORTEST\_PATH solver type, the input is split amongst the server containing the corresponding graph. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#CONVERGENCE_LIMIT"><code>CONVERGENCE\_LIMIT</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a> solvers only; Maximum percent relative threshold on the page rank scores of each node between consecutive iterations to satisfy convergence. Default value is 1 (one) percent. The default value is '1.0'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_ITERATIONS"><code>MAX\_ITERATIONS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a> solvers only; Maximum number of page rank iterations for satisfying convergence. Default value is 100. The default value is '100'. </li>
                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_RUNS"><code>MAX\_RUNS</code></a>: For all <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CENTRALITY"><code>CENTRALITY</code></a> solvers only; Sets the maximum number of shortest path runs; maximum possible value is the number of nodes in the graph. Default value of 0 enables this value to be auto computed by the solver. The default value is '0'. </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_CLUSTERS"><code>OUTPUT\_CLUSTERS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#STATS_ALL"><code>STATS\_ALL</code></a> solvers only; the cluster index for each node will be inserted as an additional column in the output. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a>: An additional column 'CLUSTER' will be added for each node. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>: No extra cluster info per node will be available in the output. </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>.
                      </li>

                      <li>
                        <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SOLVE_HEURISTIC"><code>SOLVE\_HEURISTIC</code></a>: Specify heuristic search criterion only for the geo graphs and shortest path solves towards a single target. Supported values:

                        <ul>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#ASTAR"><code>ASTAR</code></a>: Employs A-STAR heuristics to speed up the shortest path traversal. </li>
                          <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NONE"><code>NONE</code></a>: No heuristics are applied. </li>
                        </ul>

                        The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NONE"><code>NONE</code></a>.
                      </li>

                      <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#ASTAR_RADIUS"><code>ASTAR\_RADIUS</code></a>: For path solvers only when 'solve\_heuristic' option is 'astar'. The shortest path traversal front includes nodes only within this radius (kilometers) as it moves towards the target location. The default value is '70'. </li>
                    </ul>

                    The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
                  </div>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </li>

      <li>
        <div className="section method-details" id="method-detail">
          <h2>Method Details</h2>

          <ul className="member-list">
            <li>
              <div className="section detail" id="getClassSchema()">
                <h3>getClassSchema</h3>
                <div className="member-signature"><span className="modifiers">public static</span> <span className="return-type">org.apache.avro.Schema</span> <span className="element-name">getClassSchema</span>()</div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The schema for the class.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getGraphName()">
                <h3>getGraphName</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></span> <span className="element-name">getGraphName</span>()</div>
                <div className="block">Name of the graph resource to solve.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>graphName</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setGraphName(java.lang.String)">
                <h3>setGraphName</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setGraphName</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> graphName)</span></div>
                <div className="block">Name of the graph resource to solve.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>graphName</code> - The new value for <code>graphName</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getWeightsOnEdges()">
                <h3>getWeightsOnEdges</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></span> <span className="element-name">getWeightsOnEdges</span>()</div>
                <div className="block">Additional weights to apply to the edges of an existing graph. Weights must be specified using <a href="/content/graph_solver/network_graph_solver/#identifiers" target="_top">identifiers</a>; identifiers are grouped as <a href="/content/graph_solver/network_graph_solver/#id-combos" target="_top">combinations</a>. Identifiers can be used with existing column names, e.g., 'table.column AS WEIGHTS\_EDGE\_ID', expressions, e.g., 'ST\_LENGTH(wkt) AS WEIGHTS\_VALUESPECIFIED', or constant values, e.g., '{"{"}4, 15, 2{"}"} AS WEIGHTS\_VALUESPECIFIED'. Any provided weights will be added (in the case of 'WEIGHTS\_VALUESPECIFIED') to or multiplied with (in the case of 'WEIGHTS\_FACTORSPECIFIED') the existing weight(s). If using constant values in an identifier combination, the number of values specified must match across the combination. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>weightsOnEdges</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setWeightsOnEdges(java.util.List)">
                <h3>setWeightsOnEdges</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setWeightsOnEdges</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> weightsOnEdges)</span></div>
                <div className="block">Additional weights to apply to the edges of an existing graph. Weights must be specified using <a href="/content/graph_solver/network_graph_solver/#identifiers" target="_top">identifiers</a>; identifiers are grouped as <a href="/content/graph_solver/network_graph_solver/#id-combos" target="_top">combinations</a>. Identifiers can be used with existing column names, e.g., 'table.column AS WEIGHTS\_EDGE\_ID', expressions, e.g., 'ST\_LENGTH(wkt) AS WEIGHTS\_VALUESPECIFIED', or constant values, e.g., '{"{"}4, 15, 2{"}"} AS WEIGHTS\_VALUESPECIFIED'. Any provided weights will be added (in the case of 'WEIGHTS\_VALUESPECIFIED') to or multiplied with (in the case of 'WEIGHTS\_FACTORSPECIFIED') the existing weight(s). If using constant values in an identifier combination, the number of values specified must match across the combination. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>weightsOnEdges</code> - The new value for <code>weightsOnEdges</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getRestrictions()">
                <h3>getRestrictions</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></span> <span className="element-name">getRestrictions</span>()</div>
                <div className="block">Additional restrictions to apply to the nodes/edges of an existing graph. Restrictions must be specified using <a href="/content/graph_solver/network_graph_solver/#identifiers" target="_top">identifiers</a>; identifiers are grouped as <a href="/content/graph_solver/network_graph_solver/#id-combos" target="_top">combinations</a>. Identifiers can be used with existing column names, e.g., 'table.column AS RESTRICTIONS\_EDGE\_ID', expressions, e.g., 'column/2 AS RESTRICTIONS\_VALUECOMPARED', or constant values, e.g., '{"{"}0, 0, 0, 1{"}"} AS RESTRICTIONS\_ONOFFCOMPARED'. If using constant values in an identifier combination, the number of values specified must match across the combination. If remove\_previous\_restrictions option is set to true, any provided restrictions will replace the existing restrictions. Otherwise, any provided restrictions will be added (in the case of 'RESTRICTIONS\_VALUECOMPARED') to or replaced (in the case of 'RESTRICTIONS\_ONOFFCOMPARED'). The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>restrictions</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setRestrictions(java.util.List)">
                <h3>setRestrictions</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setRestrictions</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> restrictions)</span></div>
                <div className="block">Additional restrictions to apply to the nodes/edges of an existing graph. Restrictions must be specified using <a href="/content/graph_solver/network_graph_solver/#identifiers" target="_top">identifiers</a>; identifiers are grouped as <a href="/content/graph_solver/network_graph_solver/#id-combos" target="_top">combinations</a>. Identifiers can be used with existing column names, e.g., 'table.column AS RESTRICTIONS\_EDGE\_ID', expressions, e.g., 'column/2 AS RESTRICTIONS\_VALUECOMPARED', or constant values, e.g., '{"{"}0, 0, 0, 1{"}"} AS RESTRICTIONS\_ONOFFCOMPARED'. If using constant values in an identifier combination, the number of values specified must match across the combination. If remove\_previous\_restrictions option is set to true, any provided restrictions will replace the existing restrictions. Otherwise, any provided restrictions will be added (in the case of 'RESTRICTIONS\_VALUECOMPARED') to or replaced (in the case of 'RESTRICTIONS\_ONOFFCOMPARED'). The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>restrictions</code> - The new value for <code>restrictions</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getSolverType()">
                <h3>getSolverType</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></span> <span className="element-name">getSolverType</span>()</div>

                <div className="block">
                  The type of solver to use for the graph. Supported values:

                  <ul>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a>: Solves for the optimal (shortest) path based on weights and restrictions from one source to destinations nodes. Also known as the Dijkstra solver. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a>: Solves for the probability of each destination node being visited based on the links of the graph topology. Weights are not required to use this solver. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PROBABILITY_RANK"><code>PROBABILITY\_RANK</code></a>: Solves for the transitional probability (Hidden Markov) for each node based on the weights (probability assigned over given edges). </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CENTRALITY"><code>CENTRALITY</code></a>: Solves for the degree of a node to depict how many pairs of individuals that would have to go through the node to reach one another in the minimum number of hops. Also known as betweenness. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a>: Solves for finding the minimum cost cumulative path for a round-trip starting from the given source and visiting each given destination node once then returning to the source. Also known as the traveling salesman problem. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a>: Solves for finding the optimal path cost for each destination node to route to the source node. Also known as inverse Dijkstra or the service man routing problem. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>: Solves for optimal routes that connect remote asset nodes to the fixed (backbone) asset nodes. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>: Solves for paths that would give costs between max and min solution radia - Make sure to limit by the 'max\_solution\_targets' option. Min cost should be >= shortest\_path cost. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#STATS_ALL"><code>STATS\_ALL</code></a>: Solves for graph statistics such as graph diameter, longest pairs, vertex valences, topology numbers, average and max cluster sizes, etc. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CLOSENESS"><code>CLOSENESS</code></a>: Solves for the centrality closeness score per node as the sum of the inverse shortest path costs to all nodes in the graph. </li>
                  </ul>

                  The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>solverType</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setSolverType(java.lang.String)">
                <h3>setSolverType</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setSolverType</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solverType)</span></div>

                <div className="block">
                  The type of solver to use for the graph. Supported values:

                  <ul>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a>: Solves for the optimal (shortest) path based on weights and restrictions from one source to destinations nodes. Also known as the Dijkstra solver. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a>: Solves for the probability of each destination node being visited based on the links of the graph topology. Weights are not required to use this solver. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PROBABILITY_RANK"><code>PROBABILITY\_RANK</code></a>: Solves for the transitional probability (Hidden Markov) for each node based on the weights (probability assigned over given edges). </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CENTRALITY"><code>CENTRALITY</code></a>: Solves for the degree of a node to depict how many pairs of individuals that would have to go through the node to reach one another in the minimum number of hops. Also known as betweenness. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a>: Solves for finding the minimum cost cumulative path for a round-trip starting from the given source and visiting each given destination node once then returning to the source. Also known as the traveling salesman problem. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a>: Solves for finding the optimal path cost for each destination node to route to the source node. Also known as inverse Dijkstra or the service man routing problem. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>: Solves for optimal routes that connect remote asset nodes to the fixed (backbone) asset nodes. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>: Solves for paths that would give costs between max and min solution radia - Make sure to limit by the 'max\_solution\_targets' option. Min cost should be >= shortest\_path cost. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#STATS_ALL"><code>STATS\_ALL</code></a>: Solves for graph statistics such as graph diameter, longest pairs, vertex valences, topology numbers, average and max cluster sizes, etc. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CLOSENESS"><code>CLOSENESS</code></a>: Solves for the centrality closeness score per node as the sum of the inverse shortest path costs to all nodes in the graph. </li>
                  </ul>

                  The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>solverType</code> - The new value for <code>solverType</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getSourceNodes()">
                <h3>getSourceNodes</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></span> <span className="element-name">getSourceNodes</span>()</div>
                <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for source nodes. For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>, this list depicts the fixed assets. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>sourceNodes</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setSourceNodes(java.util.List)">
                <h3>setSourceNodes</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setSourceNodes</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> sourceNodes)</span></div>
                <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for source nodes. For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>, this list depicts the fixed assets. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>sourceNodes</code> - The new value for <code>sourceNodes</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getDestinationNodes()">
                <h3>getDestinationNodes</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></span> <span className="element-name">getDestinationNodes</span>()</div>
                <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for destination (target) nodes. For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>, this list depicts the remote assets. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>destinationNodes</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setDestinationNodes(java.util.List)">
                <h3>setDestinationNodes</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setDestinationNodes</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link">List</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> destinationNodes)</span></div>
                <div className="block">It can be one of the nodal identifiers - e.g: 'NODE\_WKTPOINT' for destination (target) nodes. For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#BACKHAUL_ROUTING"><code>BACKHAUL\_ROUTING</code></a>, this list depicts the remote assets. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" className="external-link"><code>List</code></a>.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>destinationNodes</code> - The new value for <code>destinationNodes</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getSolutionTable()">
                <h3>getSolutionTable</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></span> <span className="element-name">getSolutionTable</span>()</div>
                <div className="block">Name of the table to store the solution, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. The default value is 'graph\_solutions'.</div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>solutionTable</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setSolutionTable(java.lang.String)">
                <h3>setSolutionTable</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setSolutionTable</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> solutionTable)</span></div>
                <div className="block">Name of the table to store the solution, in \[schema\_name.]table\_name format, using standard <a href="/content/concepts/tables/#table-name-resolution" target="_top">name resolution rules</a>. The default value is 'graph\_solutions'.</div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>solutionTable</code> - The new value for <code>solutionTable</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getOptions()">
                <h3>getOptions</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>></span> <span className="element-name">getOptions</span>()</div>

                <div className="block">
                  Additional parameters.

                  <ul>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_RADIUS"><code>MAX\_SOLUTION\_RADIUS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Sets the maximum solution cost radius, which ignores the <a href="#getDestinationNodes()"><code>destinationNodes</code></a> list and instead outputs the nodes within the radius sorted by ascending cost. If set to '0.0', the setting is ignored. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MIN_SOLUTION_RADIUS"><code>MIN\_SOLUTION\_RADIUS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Applicable only when <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_RADIUS"><code>MAX\_SOLUTION\_RADIUS</code></a> is set. Sets the minimum solution cost radius, which ignores the <a href="#getDestinationNodes()"><code>destinationNodes</code></a> list and instead outputs the nodes within the radius sorted by ascending cost. If set to '0.0', the setting is ignored. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_TARGETS"><code>MAX\_SOLUTION\_TARGETS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Sets the maximum number of solution targets, which ignores the <a href="#getDestinationNodes()"><code>destinationNodes</code></a> list and instead outputs no more than n number of nodes sorted by ascending cost where n is equal to the setting value. If set to 0, the setting is ignored. The default value is '1000'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#UNIFORM_WEIGHTS"><code>UNIFORM\_WEIGHTS</code></a>: When specified, assigns the given value to all the edges in the graph. Note that weights provided in <a href="#getWeightsOnEdges()"><code>weightsOnEdges</code></a> will override this value. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#LEFT_TURN_PENALTY"><code>LEFT\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'left turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#RIGHT_TURN_PENALTY"><code>RIGHT\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as' right turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#INTERSECTION_PENALTY"><code>INTERSECTION\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'intersection' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SHARP_TURN_PENALTY"><code>SHARP\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'sharp turn' or 'u-turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NUM_BEST_PATHS"><code>NUM\_BEST\_PATHS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a> solvers only; sets the number of shortest paths computed from each node. This is the heuristic criterion. Default value of zero allows the number to be computed automatically by the solver. The user may want to override this parameter to speed-up the solver. The default value is '0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_NUM_COMBINATIONS"><code>MAX\_NUM\_COMBINATIONS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a> solvers only; sets the cap on the combinatorial sequences generated. If the default value of two millions is overridden to a lesser value, it can potentially speed up the solver. The default value is '2000000'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_EDGE_PATH"><code>OUTPUT\_EDGE\_PATH</code></a>: If true then concatenated edge IDs will be added as the EDGE path column of the solution table for each source and target pair in shortest path solves. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_WKT_PATH"><code>OUTPUT\_WKT\_PATH</code></a>: If true then concatenated wkt line segments will be added as the Wktroute column of the solution table for each source and target pair in shortest path solves. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SERVER_ID"><code>SERVER\_ID</code></a>: Indicates which graph server(s) to send the request to. Default is to send to the server, amongst those containing the corresponding graph, that has the most computational bandwidth. For SHORTEST\_PATH solver type, the input is split amongst the server containing the corresponding graph. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#CONVERGENCE_LIMIT"><code>CONVERGENCE\_LIMIT</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a> solvers only; Maximum percent relative threshold on the page rank scores of each node between consecutive iterations to satisfy convergence. Default value is 1 (one) percent. The default value is '1.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_ITERATIONS"><code>MAX\_ITERATIONS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a> solvers only; Maximum number of page rank iterations for satisfying convergence. Default value is 100. The default value is '100'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_RUNS"><code>MAX\_RUNS</code></a>: For all <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CENTRALITY"><code>CENTRALITY</code></a> solvers only; Sets the maximum number of shortest path runs; maximum possible value is the number of nodes in the graph. Default value of 0 enables this value to be auto computed by the solver. The default value is '0'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_CLUSTERS"><code>OUTPUT\_CLUSTERS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#STATS_ALL"><code>STATS\_ALL</code></a> solvers only; the cluster index for each node will be inserted as an additional column in the output. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a>: An additional column 'CLUSTER' will be added for each node. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>: No extra cluster info per node will be available in the output. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SOLVE_HEURISTIC"><code>SOLVE\_HEURISTIC</code></a>: Specify heuristic search criterion only for the geo graphs and shortest path solves towards a single target. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#ASTAR"><code>ASTAR</code></a>: Employs A-STAR heuristics to speed up the shortest path traversal. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NONE"><code>NONE</code></a>: No heuristics are applied. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NONE"><code>NONE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#ASTAR_RADIUS"><code>ASTAR\_RADIUS</code></a>: For path solvers only when 'solve\_heuristic' option is 'astar'. The shortest path traversal front includes nodes only within this radius (kilometers) as it moves towards the target location. The default value is '70'. </li>
                  </ul>

                  The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Returns:</div>
                  <div className="dd">The current value of <code>options</code>.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="setOptions(java.util.Map)">
                <h3>setOptions</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest" title="class in com.gpudb.protocol">SolveGraphRequest</a></span> <span className="element-name">setOptions</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span></div>

                <div className="block">
                  Additional parameters.

                  <ul>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_RADIUS"><code>MAX\_SOLUTION\_RADIUS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Sets the maximum solution cost radius, which ignores the <a href="#getDestinationNodes()"><code>destinationNodes</code></a> list and instead outputs the nodes within the radius sorted by ascending cost. If set to '0.0', the setting is ignored. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MIN_SOLUTION_RADIUS"><code>MIN\_SOLUTION\_RADIUS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Applicable only when <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_RADIUS"><code>MAX\_SOLUTION\_RADIUS</code></a> is set. Sets the minimum solution cost radius, which ignores the <a href="#getDestinationNodes()"><code>destinationNodes</code></a> list and instead outputs the nodes within the radius sorted by ascending cost. If set to '0.0', the setting is ignored. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_SOLUTION_TARGETS"><code>MAX\_SOLUTION\_TARGETS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#ALLPATHS"><code>ALLPATHS</code></a>, <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#SHORTEST_PATH"><code>SHORTEST\_PATH</code></a> and <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#INVERSE_SHORTEST_PATH"><code>INVERSE\_SHORTEST\_PATH</code></a> solvers only. Sets the maximum number of solution targets, which ignores the <a href="#getDestinationNodes()"><code>destinationNodes</code></a> list and instead outputs no more than n number of nodes sorted by ascending cost where n is equal to the setting value. If set to 0, the setting is ignored. The default value is '1000'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#UNIFORM_WEIGHTS"><code>UNIFORM\_WEIGHTS</code></a>: When specified, assigns the given value to all the edges in the graph. Note that weights provided in <a href="#getWeightsOnEdges()"><code>weightsOnEdges</code></a> will override this value. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#LEFT_TURN_PENALTY"><code>LEFT\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'left turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#RIGHT_TURN_PENALTY"><code>RIGHT\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as' right turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#INTERSECTION_PENALTY"><code>INTERSECTION\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'intersection' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SHARP_TURN_PENALTY"><code>SHARP\_TURN\_PENALTY</code></a>: This will add an additional weight over the edges labeled as 'sharp turn' or 'u-turn' if the 'add\_turn' option parameter of the <a href="/content/api/java/com/gpudb/GPUdb#createGraph(com.gpudb.protocol.CreateGraphRequest)"><code>GPUdb.createGraph</code></a> was invoked at graph creation. The default value is '0.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NUM_BEST_PATHS"><code>NUM\_BEST\_PATHS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a> solvers only; sets the number of shortest paths computed from each node. This is the heuristic criterion. Default value of zero allows the number to be computed automatically by the solver. The user may want to override this parameter to speed-up the solver. The default value is '0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_NUM_COMBINATIONS"><code>MAX\_NUM\_COMBINATIONS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#MULTIPLE_ROUTING"><code>MULTIPLE\_ROUTING</code></a> solvers only; sets the cap on the combinatorial sequences generated. If the default value of two millions is overridden to a lesser value, it can potentially speed up the solver. The default value is '2000000'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_EDGE_PATH"><code>OUTPUT\_EDGE\_PATH</code></a>: If true then concatenated edge IDs will be added as the EDGE path column of the solution table for each source and target pair in shortest path solves. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_WKT_PATH"><code>OUTPUT\_WKT\_PATH</code></a>: If true then concatenated wkt line segments will be added as the Wktroute column of the solution table for each source and target pair in shortest path solves. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a> </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a> </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SERVER_ID"><code>SERVER\_ID</code></a>: Indicates which graph server(s) to send the request to. Default is to send to the server, amongst those containing the corresponding graph, that has the most computational bandwidth. For SHORTEST\_PATH solver type, the input is split amongst the server containing the corresponding graph. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#CONVERGENCE_LIMIT"><code>CONVERGENCE\_LIMIT</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a> solvers only; Maximum percent relative threshold on the page rank scores of each node between consecutive iterations to satisfy convergence. Default value is 1 (one) percent. The default value is '1.0'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_ITERATIONS"><code>MAX\_ITERATIONS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#PAGE_RANK"><code>PAGE\_RANK</code></a> solvers only; Maximum number of page rank iterations for satisfying convergence. Default value is 100. The default value is '100'. </li>
                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#MAX_RUNS"><code>MAX\_RUNS</code></a>: For all <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#CENTRALITY"><code>CENTRALITY</code></a> solvers only; Sets the maximum number of shortest path runs; maximum possible value is the number of nodes in the graph. Default value of 0 enables this value to be auto computed by the solver. The default value is '0'. </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#OUTPUT_CLUSTERS"><code>OUTPUT\_CLUSTERS</code></a>: For <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.SolverType#STATS_ALL"><code>STATS\_ALL</code></a> solvers only; the cluster index for each node will be inserted as an additional column in the output. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#TRUE"><code>TRUE</code></a>: An additional column 'CLUSTER' will be added for each node. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>: No extra cluster info per node will be available in the output. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#FALSE"><code>FALSE</code></a>.
                    </li>

                    <li>
                      <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#SOLVE_HEURISTIC"><code>SOLVE\_HEURISTIC</code></a>: Specify heuristic search criterion only for the geo graphs and shortest path solves towards a single target. Supported values:

                      <ul>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#ASTAR"><code>ASTAR</code></a>: Employs A-STAR heuristics to speed up the shortest path traversal. </li>
                        <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NONE"><code>NONE</code></a>: No heuristics are applied. </li>
                      </ul>

                      The default value is <a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#NONE"><code>NONE</code></a>.
                    </li>

                    <li><a href="/content/api/java/com/gpudb/protocol/SolveGraphRequest.Options#ASTAR_RADIUS"><code>ASTAR\_RADIUS</code></a>: For path solvers only when 'solve\_heuristic' option is 'astar'. The shortest path traversal front includes nodes only within this radius (kilometers) as it moves towards the target location. The default value is '70'. </li>
                  </ul>

                  The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
                </div>

                <div className="dl notes">
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>options</code> - The new value for <code>options</code>.</div>
                  <div className="dt">Returns:</div>
                  <div className="dd"><code>this</code> to mimic the builder pattern.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="getSchema()">
                <h3>getSchema</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">org.apache.avro.Schema</span> <span className="element-name">getSchema</span>()</div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Specified by:</div>
                  <div className="dd"><code>getSchema</code> in interface <code>org.apache.avro.generic.GenericContainer</code></div>
                  <div className="dt">Returns:</div>
                  <div className="dd">The schema object describing this class.</div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="get(int)">
                <h3>get</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></span> <span className="element-name">get</span><wbr /><span className="parameters">(int index)</span></div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Specified by:</div>
                  <div className="dd"><code>get</code> in interface <code>org.apache.avro.generic.IndexedRecord</code></div>
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>index</code> - the position of the field to get</div>
                  <div className="dt">Returns:</div>
                  <div className="dd">value of the field with the given index.</div>
                  <div className="dt">Throws:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang" className="external-link">IndexOutOfBoundsException</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="put(int,java.lang.Object)">
                <h3>put</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">void</span> <span className="element-name">put</span><wbr /><span className="parameters">(int index, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> value)</span></div>
                <div className="block">This method supports the Avro framework and is not intended to be called directly by the user.</div>

                <div className="dl notes">
                  <div className="dt">Specified by:</div>
                  <div className="dd"><code>put</code> in interface <code>org.apache.avro.generic.IndexedRecord</code></div>
                  <div className="dt">Parameters:</div>
                  <div className="dd"><code>index</code> - the position of the field to set</div>
                  <div className="dd"><code>value</code> - the value to set</div>
                  <div className="dt">Throws:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang" className="external-link">IndexOutOfBoundsException</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="equals(java.lang.Object)">
                <h3>equals</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">boolean</span> <span className="element-name">equals</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a> obj)</span></div>

                <div className="dl notes">
                  <div className="dt">Overrides:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" className="external-link">equals</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="toString()">
                <h3>toString</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a></span> <span className="element-name">toString</span>()</div>

                <div className="dl notes">
                  <div className="dt">Overrides:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" className="external-link">toString</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                </div>
              </div>
            </li>

            <li>
              <div className="section detail" id="hashCode()">
                <h3>hashCode</h3>
                <div className="member-signature"><span className="modifiers">public</span> <span className="return-type">int</span> <span className="element-name">hashCode</span>()</div>

                <div className="dl notes">
                  <div className="dt">Overrides:</div>
                  <div className="dd"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" className="external-link">hashCode</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" className="external-link">Object</a></code></div>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </li>
    </ul>
  </div>
</div>
