This file is indexed.

/usr/include/terralib/stat/TeKernelParams.h is in libterralib-dev 4.0.0-5ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
/************************************************************************************
Exploring and analysis of geographical data using TerraLib and TerraView
Copyright © 2003-2007 INPE and LESTE/UFMG.

Partially funded by CNPq - Project SAUDAVEL, under grant no. 552044/2002-4,
SENASP-MJ and INPE

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This program is distributed hoping it will be useful, however, WITHOUT ANY 
WARRANTIES; neither to the implicit warranty of MERCHANTABILITY OR SUITABILITY FOR
AN SPECIFIC FINALITY. Consult the GNU General Public License for more details.

You must have received a copy of the GNU General Public License with this program.
In negative case, write to the Free Software Foundation, Inc. in the following
address: 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.
***********************************************************************************/
/*! \file TeKernelParams.h
    \brief This file contains structures and definitions about Kernel parameters
*/
#ifndef __TERRALIB_INTERNAL_KERNELPARAMS_H
#define __TERRALIB_INTERNAL_KERNELPARAMS_H

#include "TeStatDefines.h"
#include "TeUtils.h"

#include <string>
#include <vector>
using namespace std;

//! Kernel Algorithm types
enum TeKernelFunctionType 
 {TeKQuartic, TeKNormal, TeKUniform, TeKTriangular, TeKNegExponential};


//! Kernel Evaluation types
enum TeKernelComputeType 
{TeKDensity, TeKMovingAverage, TeKProbability};

enum TeKernelCombinationType
{TeKRatio, TeKLogRatio, TeAbsDifference, TeRelDifference, TeAbsSum, TeRelSum};


/*! \struct TeKernelParams
	Kernel parameters representation
*/
struct STAT_DLL TeKernelParams
{
	//first event theme
	int						eventThemeId1_;			// event theme id
	string					eventThemeName1_;		// event theme name
	string					intensityAttrName1_;	// intensity attribute name 		
	string					intensityAttrTable1_;	// table name that keeps the intensity attribute
	TeKernelFunctionType	kernelFunction1_;		// kernel function
	TeKernelComputeType		computeType1_;
	double					radiusValue1_;			// radius value if the kernel is not adaptative 

	TeKernelCombinationType	combinationType_;
	
	//second event theme (if Kernel ratio)
	int						eventThemeId2_;			// event theme id
	string					eventThemeName2_;		// event theme name
	string					intensityAttrName2_;	// intensity attribute name 		
	string					intensityAttrTable2_;	// table name that keeps the intensity attribute
	TeKernelFunctionType	kernelFunction2_;		// kernel function
	TeKernelComputeType		computeType2_;
	double					radiusValue2_;			// radius value if the kernel is not adaptative 
	
	//informations about the kernel result
	int						supportThemeId_;		// support theme id
	string					supportThemeName_;		// support theme name 
	string					supportThemeTable_;		// support theme table that keeps the kernel results 
	string					supportThemeAttr_;		// attribute name of the support theme table that keeps the kernel results   	
	int						generatedLayerId_;		// id of the generated layer (when it´s raster) 
	string					generatedLayerName_;	// name of the generated layer (when it´s raster)
	
	//! Empty constructor
	TeKernelParams():
		eventThemeId1_(0),
		eventThemeName1_(""),
		intensityAttrName1_(""),
		intensityAttrTable1_(""),
		kernelFunction1_(TeKQuartic),
		computeType1_(TeKDensity),
		radiusValue1_(0.0),
		combinationType_(TeKRatio),
		eventThemeId2_(0),
		eventThemeName2_(""),
		intensityAttrName2_(""),
		intensityAttrTable2_(""),
		kernelFunction2_(TeKQuartic),
		computeType2_(TeKDensity),
		radiusValue2_(0.0),
		supportThemeId_(0),
		supportThemeName_(""),
		supportThemeTable_(""),
		supportThemeAttr_(""),
		generatedLayerId_(0),
		generatedLayerName_("")
		{}

};

//! A vector of TeKernelParams
typedef vector<TeKernelParams> TeKernelParamsVector;


#endif