本文整理了Java中edu.isi.karma.modeling.alignment.Alignment.isEmpty()
方法的一些代码示例,展示了Alignment.isEmpty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Alignment.isEmpty()
方法的具体详情如下:
包路径:edu.isi.karma.modeling.alignment.Alignment
类名称:Alignment
方法名:isEmpty
暂无
代码示例来源:origin: usc-isi-i2/Web-Karma
if (alignment != null && !alignment.isEmpty()) {
for (Node node: alignment.getSteinerTree().vertexSet()) {
if (node.getType() == NodeType.InternalNode) {
代码示例来源:origin: usc-isi-i2/Web-Karma
Alignment alignment = AlignmentManager.Instance().getAlignment(workspace.getId(), worksheetId);
Set<String> steinerTreeNodeIds = new HashSet<>();
if (alignment != null && !alignment.isEmpty()) {
DirectedWeightedMultigraph<Node, LabeledLink> steinerTree = alignment.getSteinerTree();
for (Node node: steinerTree.vertexSet()) {
代码示例来源:origin: usc-isi-i2/Web-Karma
if(alignment == null || alignment.isEmpty()) {
logger.error("Alignment cannot be null before calling this command since the alignment is created while " +
"setting the semantic types.");
代码示例来源:origin: usc-isi-i2/Web-Karma
worksheetId));
if (alignment == null || alignment.isEmpty()) {
logger.info("Alignment is NULL for " + worksheetId);
return new UpdateContainer(
代码示例来源:origin: usc-isi-i2/Web-Karma
if (alignment != null && !alignment.isEmpty()) {
for (Node node: alignment.getSteinerTree().vertexSet()) {
if (node.getType() == NodeType.InternalNode) {
内容来源于网络,如有侵权,请联系作者删除!