Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
ipaaca
Commits
8e9aefba
Commit
8e9aefba
authored
10 years ago
by
Sebastian Kahl
Browse files
Options
Downloads
Patches
Plain Diff
added BufferConfiguration and BufferConfigurationBuilder files...
parent
e1b272c0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ipaacalib/java/src/ipaaca/BufferConfiguration.java
+76
-0
76 additions, 0 deletions
ipaacalib/java/src/ipaaca/BufferConfiguration.java
ipaacalib/java/src/ipaaca/BufferConfigurationBuilder.java
+78
-0
78 additions, 0 deletions
ipaacalib/java/src/ipaaca/BufferConfigurationBuilder.java
with
154 additions
and
0 deletions
ipaacalib/java/src/ipaaca/BufferConfiguration.java
0 → 100644
+
76
−
0
View file @
8e9aefba
/*
* This file is part of IPAACA, the
* "Incremental Processing Architecture
* for Artificial Conversational Agents".
*
* Copyright (c) 2009-2013 Sociable Agents Group
* CITEC, Bielefeld University
*
* http://opensource.cit-ec.de/projects/ipaaca/
* http://purl.org/net/ipaaca
*
* This file may be licensed under the terms of of the
* GNU Lesser General Public License Version 3 (the ``LGPL''),
* or (at your option) any later version.
*
* Software distributed under the License is distributed
* on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the LGPL for the specific language
* governing rights and limitations.
*
* You should have received a copy of the LGPL along with this
* program. If not, go to http://www.gnu.org/licenses/lgpl.html
* or write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* The development of this software was supported by the
* Excellence Cluster EXC 277 Cognitive Interaction Technology.
* The Excellence Cluster EXC 277 is a grant of the Deutsche
* Forschungsgemeinschaft (DFG) in the context of the German
* Excellence Initiative.
*/
package
ipaaca
;
import
java.util.Set
;
class
BufferConfiguration
{
String
_owningComponentName
;
Set
<
String
>
_category_interests
;
String
_channel
;
boolean
_resendActive
;
// protected:
// IPAACA_MEMBER_VAR_EXPORT std::string _basename;
// IPAACA_MEMBER_VAR_EXPORT std::vector<std::string> _category_interests;
// IPAACA_MEMBER_VAR_EXPORT std::string _channel;
public
BufferConfiguration
(
String
owningComponentName
)
{
this
.
_owningComponentName
=
owningComponentName
;
this
.
_channel
=
"default"
;
this
.
_resendActive
=
false
;
}
public
String
getOwningComponentName
()
{
return
this
.
_owningComponentName
;
}
public
Set
<
String
>
getCategoryInterests
()
{
return
this
.
_category_interests
;
}
public
String
getChannel
()
{
return
this
.
_channel
;
}
public
boolean
getResendActive
()
{
return
this
.
_resendActive
;
}
// public:
// IPAACA_HEADER_EXPORT inline BufferConfiguration(const std::string basename) { _basename = basename; }
// IPAACA_HEADER_EXPORT const std::string get_basename() const { return _basename; }
// IPAACA_HEADER_EXPORT const std::vector<std::string> get_category_interests() const { return _category_interests; }
// IPAACA_HEADER_EXPORT const std::string get_channel() const { return _channel; }
}
This diff is collapsed.
Click to expand it.
ipaacalib/java/src/ipaaca/BufferConfigurationBuilder.java
0 → 100644
+
78
−
0
View file @
8e9aefba
/*
* This file is part of IPAACA, the
* "Incremental Processing Architecture
* for Artificial Conversational Agents".
*
* Copyright (c) 2009-2013 Sociable Agents Group
* CITEC, Bielefeld University
*
* http://opensource.cit-ec.de/projects/ipaaca/
* http://purl.org/net/ipaaca
*
* This file may be licensed under the terms of of the
* GNU Lesser General Public License Version 3 (the ``LGPL''),
* or (at your option) any later version.
*
* Software distributed under the License is distributed
* on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the LGPL for the specific language
* governing rights and limitations.
*
* You should have received a copy of the LGPL along with this
* program. If not, go to http://www.gnu.org/licenses/lgpl.html
* or write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* The development of this software was supported by the
* Excellence Cluster EXC 277 Cognitive Interaction Technology.
* The Excellence Cluster EXC 277 is a grant of the Deutsche
* Forschungsgemeinschaft (DFG) in the context of the German
* Excellence Initiative.
*/
package
ipaaca
;
class
BufferConfigurationBuilder
extends
BufferConfiguration
{
public
BufferConfigurationBuilder
(
String
owningComponentName
)
{
super
(
owningComponentName
);
}
public
void
setOwningComponentName
(
String
owningComponentName
)
{
this
.
_owningComponentName
=
owningComponentName
;
}
public
void
addCategoryInterest
(
String
category
)
{
this
.
_category_interests
.
add
(
category
);
}
public
void
setChannel
(
String
channel
)
{
this
.
_channel
=
channel
;
}
public
void
setResendActive
(
boolean
resendActive
)
{
this
.
_resendActive
=
resendActive
;
}
public
BufferConfiguration
getBufferConfiguration
()
{
return
this
;
}
// public:
// IPAACA_HEADER_EXPORT inline BufferConfigurationBuilder(const std::string basename):BufferConfiguration(basename) {}
// IPAACA_HEADER_EXPORT inline void set_basename(const std::string& basename)
// {
// _basename = basename;
// }
// IPAACA_HEADER_EXPORT inline void add_category_interest(const std::string& category)
// {
// _category_interests.push_back(category);
// }
// IPAACA_HEADER_EXPORT inline void set_channel(const std::string& channel)
// {
// _channel = channel;
// }
// IPAACA_HEADER_EXPORT const BufferConfiguration& get_BufferConfiguration() { return *this; }
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment