This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Load training data. | |
imageDir = fullfile('training_data'); | |
labelDir = fullfile('label_data'); | |
% Create an image datastore for the images. | |
imds = imageDatastore(imageDir, 'IncludeSubfolders',true, ... | |
'LabelSource','foldernames'); | |
% Create a pixelLabelDatastore for the ground truth pixel labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-3-1;10:59:26=> ****************** Started planning navigation_inst_mdp__2 | |
2017-3-1;10:59:26=> First update for action: move-north -10.75 | |
2017-3-1;10:59:26=> Old value: 0 0 | |
2017-3-1;10:59:26=> New value: -0.358333 0 | |
2017-3-1;10:59:26=> Old value: 0 1 | |
2017-3-1;10:59:26=> New value: -0.358333 0 | |
2017-3-1;10:59:26=> Old value: 0 2 | |
2017-3-1;10:59:26=> New value: -0.358333 0 | |
2017-3-1;10:59:26=> Old value: 0 3 | |
2017-3-1;10:59:26=> New value: -0.358333 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "offline_heuristic.h" | |
#include "thts.h" | |
#include "utils/string_utils.h" | |
#include "utils/system_utils.h" | |
#include "utils/math_utils.h" | |
#include <fstream> | |
#include <iostream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef OFFLINE_HEURISTIC_H | |
#define OFFLINE_HEURISTIC_H | |
#include <map> | |
#include <string> | |
#include <vector> | |
class THTS; | |
#include "states.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef STATES_H | |
#define STATES_H | |
#include <cassert> | |
#include <set> | |
#include <string> | |
#include <vector> | |
#include "probability_distribution.h" | |
#include "utils/math_utils.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "states.h" | |
#include "evaluatables.h" | |
#include <sstream> | |
using namespace std; | |
State::State(vector<ConditionalProbabilityFunction*> const& cpfs) { | |
for (unsigned int i = 0; i < cpfs.size(); ++i) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building configuration release | |
-- The C compiler identification is MSVC 19.0.24215.1 | |
-- The CXX compiler identification is MSVC 19.0.24215.1 | |
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe | |
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe | |
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works | |
-- Detecting CXX compiler ABI info |