inline HexBoardPiece HexBoard::get(const int index)
{
  return board.getNodeValue(index);
}
inline double ShortestPath::pathCost()
{
  return currGraph->getNodeValue(currEndNode); // the cost at the target node
}