% by Mirella M. Moro; version: January/18/2012 @ 04:16pm
% -- 01/18/2012: more discussion on SBBD + JIDM; overall revision
% -- 09/03/2010: bib file with names for proceedings and journals; cls with shrinked {received}
% -- 08/27/2010: appendix, table example, more explanation within comments, editors' data

\documentclass[jidm,a4paper]{jidm} % NOTE: JIDM is published on A4 paper
\usepackage{graphicx,url}  % for using figures and url format
\usepackage[T1]{fontenc}   % avoids warnings such as "LaTeX Font Warning: Font shape 'OMS/cmtt/m/n' undefined"

%\usepackage{cite} % NOTE: do **not** include this package because it conflicts with jidm.bst

%tables
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{ctable}
\setlength{\heavyrulewidth}{0.1em}


%packages
\usepackage{savesym}
    \savesymbol{pdfbookmark}
    \usepackage{hyperref}
    \restoresymbol{HR}{pdfbookmark}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{float}
\usepackage{color}
\usepackage{graphicx}

\usepackage[algoruled,linesnumbered]{algorithm2e}
\SetKw{KwAnd}{and}
\SetKw{KwBreak}{break}
\SetKw{KwNull}{null}

%\usepackage{cite} % NOTE: do **not** include this package because it conflicts with jidm.bst

% Standard definitions
\newtheorem{theorem}{Theorem}[section]
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newdef{definition}[theorem]{Definition}
\newdef{remark}[theorem]{Remark}

% New environment definition
\newenvironment{latexcode}
{\ttfamily\vspace{0.1in}\setlength{\parindent}{18pt}}
{\vspace{0.1in}}

% ALL FIELDS UNTIL BEGIN{document} ARE MANDATORY

% The following data (volume, number and page) are given by the editors prior to publishing your article
\jidmVolume{5}
\jidmNumber{1}
\jidmYear{14}
\jidmMonth{October}
\setcounter{page}{1}

%commands
\newcommand{\slim}{\mbox{Slim-tree}}
\newcommand{\mm}{\mbox{MM-tree}}
%\newcommand{\fonion}{\mbox{F-Onion-tree}}

\newcommand{\onions}{Onion-trees}

\newcommand{\hbl}{HeightBL algorithm}
\newcommand{\onion}{\mbox{Onion-tree}}
\newcommand{\fonion}{\mbox{F-Onion-tree}}
\newcommand{\fonions}{\mbox{F-Onion-trees}}
\newcommand{\vonion}{\mbox{V-Onion-tree}}
\newcommand{\vonions}{\mbox{V-Onion-trees}}
\newcommand{\bl}{bulk-loading}
\newcommand{\knn}{$k$-NN}
\newcommand{\st}{\textit{sampling task}}
\newcommand{\ch}{Color Histograms}
\newcommand{\kdd}{KDD Cup}
\newcommand{\oz}{Ozone}
\newcommand{\ee}{element-by-element insertion}
\newcommand{\ees}{element-by-element insertions}

% Includes headers with simplified name of the authors and article title
\markboth{A.E.O. Carosia, R.R. Ciferri and C.D.A. Ciferri}
{The HeightBL Algorithm for Bulk-loading F-Onion-trees}
%  -> \markboth{}{}
%         takes 2 arguments
%         ex: \markboth{M. M. Moro}{Any article title}


% Title of the article
\title{The HeightBL Algorithm for Bulk-loading F-Onion-trees}

% List of authors
%IF THERE ARE TWO or more institutions, please use:
\author{Arthur Emanuel de Oliveira Carosia\inst{1}, Ricardo Rodrigues Ciferri\inst{2} and Cristina Dutra~de Aguiar Ciferri\inst{1}}

\institute{Departamento de Ci{\^e}ncias de Computa\c{c}{\~a}o, Universidade de S{\~a}o Paulo\\ 13.560-970, S{\~a}o Carlos - SP, Brazil\\
\email{arthuremanuel.carosia@gmail.com, cdac@icmc.usp.br}   
\and
Departamento de Computa\c{c}{\~a}o, Universidade Federal de S{\~a}o Carlos\\ 13.565-905, S{\~a}o Carlos - SP, Brazil\\ \email{ricardo@dc.ufscar.br}
}

% Article abstract - it should be from 100 to 300 words

\input{ArqAbstract.tex}

\begin{document}

\begin{sloppy}

\maketitle

% This is optional:
\begin{bottomstuff}
This work has been supported by the following Brazilian research agencies: FAPESP, CNPq, CAPES and FINEP. The last author is funded by the grant \#2011/23904-7, S\~{a}o Paulo Research Foundation (FAPESP).
\vspace{0.1cm}
\end{bottomstuff}

\input{ArqIntroduction.tex}

\input{ArqRelatedWork.tex}

\input{ArqOnion.tex}

\input{ArqBulkLoading.tex}

\input{ArqExperimentalResults.tex}

\input{ArqConclusions.tex}


% INCLUDE BIBLIOGRAPHY WHICH MUST FOLLOW jidm.bst TEMPLATE
\bibliographystyle{jidm}
\bibliography{jidmb}
% For information on how to write bibliography entries, 
% see file jidmb.bib

%\begin{received}
%\end{received}

\end{sloppy}

\end{document}
